#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 21
Default Index/Match Question

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,688
Default Index/Match Question

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 21
Default Index/Match Question

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,688
Default Index/Match Question

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,180
Default Index/Match Question

Pivot Table Multiple consolidation ranges
Range: Select all data except Department row.
Finish.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Possibly a loaded question, but I think mileslit Excel Discussion (Misc queries) 1 September 10th 05 01:18 AM
How do I find and replace a question mark in Excel? Ranpalandil Excel Discussion (Misc queries) 1 September 7th 05 10:20 PM
Newbie With A Question Michael Excel Worksheet Functions 0 July 28th 05 11:50 PM
Anybody Help with previous question Anthony Excel Discussion (Misc queries) 1 July 26th 05 01:26 PM
Hints And Tips For New Posters In The Excel Newsgroups Gary Brown Excel Worksheet Functions 0 April 15th 05 05:47 PM


All times are GMT +1. The time now is 10:29 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"