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

Name---01------00------02
Name2--02------04------01
Name2--05------01------00
Name4--03------13------02
Name2--05------22------03
Name4--05------03------02
Name3--01------05------02
Name2--04------07------03
Name3--00------02------02

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.

Totals
Type--- Level--- Product---Cost
Name---01------00------02
Name2--16------34------07
Name3--01------07------04
Name4--08------17------04

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.

Post a reply
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.

Kees

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.

Kees

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.


Kees

Collapse -
Sumif?
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 http://www.google.com/search?q=excel+sumif

Hope this helps.


Kees

Popular Forums
icon
Computer Help 47,885 discussions
icon
Computer Newbies 10,322 discussions
icon
iPhones, iPods, & iPads 3,188 discussions
icon
Security 30,333 discussions
icon
TVs & Home Theaters 20,177 discussions
icon
HDTV Picture Setting 1,932 discussions
icon
Phones 15,713 discussions
icon
Windows 7 6,210 discussions
icon
Networking & Wireless 14,510 discussions

Tech for the school year

Smart tech for smart students

Forget the pencils and notebooks. Gear up your students with these portable and powerful note-taking machines.