Formula Help Please

garymu16

Board Regular
Joined
Sep 15, 2006
Messages
139
Hi All,

I have a 2 page workbook I am currently working on. Page 1 is called Data -- Column A has account manager names, Column F has the month and Column C has the sales value. This data runs over 15000 rows currently.

On the 2nd page, Summary, I have a list of account managers from cell A2 to A12, and on row 2 (cell B2 to K2) I have the months.

What formula could I use on my Summary page to match the account manager names and the months to return the sales value?

Apologies for not being able to display a snapshot of the spreadsheet but my works computer will not permit download of the HTML maker.

Many thx in advance

Gary
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
Hi,

Try:

=SUMPRODUCT(--(Sheet1!$A$2:$A$1500=$A3),--(Sheet1!$F$2:$F$1500=B$2),Sheet1!$C$2:$C$1500)

in B3, drag right / down.
 
Upvote 0
Thanks Fairwinds - Worked a treat!

My next question would be - Could I modify the formula to give me the values that dont match any of the names on Column A of my summary spreadsheet?

Thx
 
Upvote 0
For each month?

Try

=SUMPRODUCT(--ISNA(MATCH(Sheet1!$A$2:$A$1500,$A3:$A13,0)),--(Sheet1!$F$2:$F$1500=B$2),Sheet1!$C$2:$C$1500)

copied across
 
Upvote 0

Forum statistics

Threads
1,214,827
Messages
6,121,824
Members
449,050
Latest member
Bradel

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top