Office & Productivity Software forum

General discussion

Microsoft Excel Intermediate Level Question (Formulas)

by Matthew R. / November 9, 2007 12:11 PM PST

I have been creating a sheet in which is getting a little more complex than I care to admit. This is what I'm working on:

I have a list that I have been typing manually, and it has to stay that was as per the stipulation of the end result. The list is broken down into four sections going horizontally, and the data goes below.

Type--- Level--- Product---Cost


Now what I need to do is to have it break down in a list that below will take the information above in whatever order someone types the names into, and correlates the data into a specific list below it... so it would look like this, again like above it can't be made into a generic list using the wizard because of fields surrounding it.

Type--- Level--- Product---Cost

Next to the name would be the total sum of each section so if Name2 comes up with as shown above, I would prefer a formula per line so it would be easy to transpose if required... a form wizard can't be used here due to stipulations, and also other fields surrounding it.

Any help would be appreciated.

Discussion is locked
You are posting a reply to: Microsoft Excel Intermediate Level Question (Formulas)
The posting of advertisements, profanity, or personal attacks is prohibited. Please refer to our CNET Forums policies for details. All submitted content is subject to our Terms of Use.
Track this discussion and email me when there are updates

If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.

You are reporting the following post: Microsoft Excel Intermediate Level Question (Formulas)
This post has been flagged and will be reviewed by our staff. Thank you for helping us maintain CNET's great community.
Sorry, there was a problem flagging this post. Please try again now or at a later time.
If you believe this post is offensive or violates the CNET Forums' Usage policies, you can report it below (this will not automatically remove the post). Once reported, our moderators will be notified and the post will be reviewed.
Collapse -
Why yuse Excel
by Kees Bakker / November 10, 2007 6:17 PM PST

This is an elementary query
SELECT type SUM(level) SUM(product) SUM(cost) GROUP BY name
in any SQL database.

Try MS Access (part of MS Office) or SQL Server Express (free download from Microsoft) or mySQL (open source database). You can use ODBC to get to the data in the spreadsheet, so any output is just a few clicks away.
It might even be better to dump the whole spreadsheet idea and do everything in the database.


Collapse -
The Excel way to do it ...
by Kees Bakker / November 10, 2007 6:22 PM PST

would be to use a pivot table. That's rather easy.
Or SUMIF-formulas, but to have that manageable it would need a fixed list of types.


Collapse -
Can't use Access, or 3rd party products.
by Matthew R. / November 10, 2007 8:59 PM PST

I can't use Access for this, and I would rather not have to use MySQL...this has to be strictly Excel. Hence why this isn't a simple answer, because I have restrictions against me.

Collapse -
I gave 2 Excel alternatives above.
by Kees Bakker / November 10, 2007 9:59 PM PST

See if one of them suits you.

Good luck.


Collapse -
by Matthew R. / November 10, 2007 10:24 PM PST

How would I use a Sumif command?

Collapse -
Re: sumif
by Kees Bakker / November 10, 2007 11:21 PM PST
In reply to: Sumif?

It's not a command nor a formula. It's a function. Sorry if I expressed myself incorrectly.

If you can't find the necessary details in the Excel help or your Excel course material or books, try the results from

Hope this helps.


Popular Forums
Computer Newbies 10,686 discussions
Computer Help 54,365 discussions
Laptops 21,181 discussions
Networking & Wireless 16,313 discussions
Phones 17,137 discussions
Security 31,287 discussions
TVs & Home Theaters 22,101 discussions
Windows 7 8,164 discussions
Windows 10 2,657 discussions


Turn up the volume with our Apple Byte sweeps!

Two lucky winners will take home the coveted smart speaker that lets Siri help you around your connected house. This sweepstake ends Feb. 25, 2018.