Version: 2008
  • On TechRepublic: Five super-secret features in Windows 7
Advanced Search
advertisement
advertisement

Forum display:

Office & productivity software: Microsoft Excel Intermediate Level Question (Formulas)

by Matthew R. - 11/9/07 8:11 PM
advertisement
Click Here
Post 1 of 7

Microsoft Excel Intermediate Level Question (Formulas)

by Matthew R. - 11/9/07 8:11 PM

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 2 of 7

Why yuse Excel

by Kees Bakker Moderator - 11/11/07 2:17 AM In reply to: Microsoft Excel Intermediate Level Question (Formulas) by Matthew R.

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

Post 3 of 7

The Excel way to do it ...

by Kees Bakker Moderator - 11/11/07 2:22 AM In reply to: Microsoft Excel Intermediate Level Question (Formulas) by Matthew R.

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

Post 4 of 7

Can't use Access, or 3rd party products.

by Matthew R. - 11/11/07 4:59 AM In reply to: The Excel way to do it ... by Kees Bakker Moderator

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.

Post 5 of 7

I gave 2 Excel alternatives above.

by Kees Bakker Moderator - 11/11/07 5:59 AM In reply to: Can't use Access, or 3rd party products. by Matthew R.

See if one of them suits you.

Good luck.


Kees

Post 6 of 7

Sumif?

by Matthew R. - 11/11/07 6:24 AM In reply to: I gave 2 Excel alternatives above. by Kees Bakker Moderator

How would I use a Sumif command?

Post 7 of 7

Re: sumif

by Kees Bakker Moderator - 11/11/07 7:21 AM In reply to: Sumif? by Matthew R.

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

Forum legend:
Locked Locked thread
Moderator Moderator
CNET staff CNET staff
Samsung staff Samsung staff
Norton Authorized Support team Norton Authorized Support team
AVG staff AVG staff
Windows Outreach team Windows Outreach team
Dell staff Dell staff
Intel staff Intel staff
Powered by Jive Software