Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have the following car sales spreadsheet:
How could I add each car with each department and in each month? Dept A Dept A Dept A Dept B Dept B Dept B Jan Feb Mar Jan Feb Mar Audi 550 230 650 85 320 300 Chev 350 260 780 800 250 254 Buick 420 312 240 87 99 187 Chev 147 62 174 23 86 80 Audi 94 70 209 214 67 68 Thanks in advance! |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
As long as your dept and month headers follow that linear pattern:
A10 = make B10 = dept C10 = month Entered as an array using the key combination of CTRL,SHIFT,ENTER (not just ENTER): =SUMIF(A3:A7,A10,INDEX(B3:G7,,MATCH(B10&C10,B1:G1& B2:G2,0))) Here's a screencap: http://img165.imageshack.us/img165/627/sumifbk1.jpg Biff "Gingit" wrote in message ... I have the following car sales spreadsheet: How could I add each car with each department and in each month? Dept A Dept A Dept A Dept B Dept B Dept B Jan Feb Mar Jan Feb Mar Audi 550 230 650 85 320 300 Chev 350 260 780 800 250 254 Buick 420 312 240 87 99 187 Chev 147 62 174 23 86 80 Audi 94 70 209 214 67 68 Thanks in advance! |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Thank you both, I didn't want to use pivot tables.
Biff that formula worked great. Gingit "Biff" wrote: As long as your dept and month headers follow that linear pattern: A10 = make B10 = dept C10 = month Entered as an array using the key combination of CTRL,SHIFT,ENTER (not just ENTER): =SUMIF(A3:A7,A10,INDEX(B3:G7,,MATCH(B10&C10,B1:G1& B2:G2,0))) Here's a screencap: http://img165.imageshack.us/img165/627/sumifbk1.jpg Biff "Gingit" wrote in message ... I have the following car sales spreadsheet: How could I add each car with each department and in each month? Dept A Dept A Dept A Dept B Dept B Dept B Jan Feb Mar Jan Feb Mar Audi 550 230 650 85 320 300 Chev 350 260 780 800 250 254 Buick 420 312 240 87 99 187 Chev 147 62 174 23 86 80 Audi 94 70 209 214 67 68 Thanks in advance! |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
You're welcome. Thanks for the feedback!
Biff "Gingit" wrote in message ... Thank you both, I didn't want to use pivot tables. Biff that formula worked great. Gingit "Biff" wrote: As long as your dept and month headers follow that linear pattern: A10 = make B10 = dept C10 = month Entered as an array using the key combination of CTRL,SHIFT,ENTER (not just ENTER): =SUMIF(A3:A7,A10,INDEX(B3:G7,,MATCH(B10&C10,B1:G1& B2:G2,0))) Here's a screencap: http://img165.imageshack.us/img165/627/sumifbk1.jpg Biff "Gingit" wrote in message ... I have the following car sales spreadsheet: How could I add each car with each department and in each month? Dept A Dept A Dept A Dept B Dept B Dept B Jan Feb Mar Jan Feb Mar Audi 550 230 650 85 320 300 Chev 350 260 780 800 250 254 Buick 420 312 240 87 99 187 Chev 147 62 174 23 86 80 Audi 94 70 209 214 67 68 Thanks in advance! |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Pivot Table Multiple consolidation ranges
Range: Select all data except Department row. Finish. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Possibly a loaded question, but I think | Excel Discussion (Misc queries) | |||
How do I find and replace a question mark in Excel? | Excel Discussion (Misc queries) | |||
Newbie With A Question | Excel Worksheet Functions | |||
Anybody Help with previous question | Excel Discussion (Misc queries) | |||
Hints And Tips For New Posters In The Excel Newsgroups | Excel Worksheet Functions |