What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » a interesting question about excel

a interesting question about excel
Author: Message:
TheMusicPirate
Full Member
***

Avatar

Posts: 412
Reputation: 8
39 / Male / –
Joined: Feb 2005
O.P. a interesting question about excel
ok here is my question.

i have a list of 2000+ music albums that i have collected over the years.

and what i want to do is have it it automatically total up all the :
rock
pop
rap
dance
soundtrack

lists that i have, but i want it to automatically keep count as i add more to each list.

how would i go about doing this?

thanks

p.s. i have searched on google and found nothing. 
[Image: ipod.gif]

01-19-2007 11:21 PM
Profile PM Find Quote Report
Sunshine
Elite Member
*****

Avatar

Posts: 5142
Reputation: 122
– / Female / Flag
Joined: Mar 2004
Status: Away
RE: a interesting question about excel
I think you are looking for the function called "subtotals".
Look at the example in the subtotals tutorial on mistupid.com - Microsoft Excel Tutorials.

This post was edited on 01-19-2007 at 11:54 PM by Sunshine.
[Image: 25dr3o9]
01-19-2007 11:53 PM
Profile E-Mail PM Web Find Quote Report
Adeptus
Senior Member
****


Posts: 732
Reputation: 40
Joined: Oct 2005
RE: a interesting question about excel
There is more than one way to do anything and it also depends on how your spreadsheet is organized, which you don't explain very well.

What would make sense to me (perhaps because I deal with databases a lot) would be one list, with a column for genre.  In that case, you can count the number of entries for each genre using =COUNTIFF(range, value) function on that column.

For a split list (for example, if you use different worksheet for each genre), you can use =COUNTA(range) function on any column that will be non-blank, such as title.

If neither of these fits your situation, please explain how your spreadsheet is organized.
01-20-2007 12:14 AM
Profile E-Mail PM Find Quote Report
TheMusicPirate
Full Member
***

Avatar

Posts: 412
Reputation: 8
39 / Male / –
Joined: Feb 2005
O.P. RE: RE: a interesting question about excel
quote:
Originally posted by Adeptus
There is more than one way to do anything and it also depends on how your spreadsheet is organized, which you don't explain very well.

What would make sense to me (perhaps because I deal with databases a lot) would be one list, with a column for genre.  In that case, you can count the number of entries for each genre using =COUNTIFF(range, value) function on that column.

For a split list (for example, if you use different worksheet for each genre), you can use =COUNTA(range) function on any column that will be non-blank, such as title.

If neither of these fits your situation, please explain how your spreadsheet is organized.


this is how my lists are setup: i have 5 lists

1) albums on various dvd's
2) burnt albums
3) bought albums
4) albums on portable harddrive
5) albums on computer

[Image: ipod.gif]

01-20-2007 01:04 AM
Profile PM Find Quote Report
CookieRevised
Elite Member
*****

Avatar

Posts: 15519
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: a interesting question about excel
Then you need a combination of different COUNTIFs...

But:

What do you mean by 'lists'? And where are those 'lists'? Have those lists headers and how many? What is the column for the genre? etc...

For stuff like this we need very specific info.

--------

I assume by 'lists' you actually mean sheets. So each list is located on a different sheet.

I assume the genre column is located in column E on each sheet.

I assume the sheets are named:
1) DVDs
2) BURNED
3) BOUGHT
4) PORTABLE
5) PC

In the cell you want the grand total, for let's say the "rock" genre, you put:
=COUNTIF('DVDs'!E:E,"rock") + COUNTIF('BURNED'!E:E,"rock") + COUNTIF('BOUGHT'!E:E,"rock") + COUNTIF('PORTABLE'!E:E,"rock") + COUNTIF('PC'!E:E,"rock")

In the cell you want the grand total, for let's say the "pop" genre, you put:
=COUNTIF('DVDs'!E:E,"pop") + COUNTIF('BURNED'!E:E,"pop") + COUNTIF('BOUGHT'!E:E,"pop") + COUNTIF('PORTABLE'!E:E,"pop") + COUNTIF('PC'!E:E,"pop")

etc

Note: It is case insensitive

Note: If your Excel is in another language than English, refer to http://dolf.trieschnigg.nl/excel/excel.html to get the equivalent function name and syntax.
.-= A 'frrrrrrrituurrr' for Wacky =-.
01-20-2007 02:12 AM
Profile PM Find Quote Report
Adeptus
Senior Member
****


Posts: 732
Reputation: 40
Joined: Oct 2005
RE: a interesting question about excel
Ok.  So, how do we know what genre it is?  Is there a column for it?  Are all the lists on the same worksheet, or different worksheets?
01-20-2007 02:13 AM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On