# Formula Help Please

#### garymu16

##### Board Regular
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

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.

#### fairwinds

##### MrExcel MVP
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.

#### garymu16

##### Board Regular
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

#### barry houdini

##### MrExcel MVP
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

Replies
1
Views
269
Replies
2
Views
691
Replies
1
Views
270
Replies
5
Views
725
Replies
2
Views
1K

1,190,898
Messages
5,983,456
Members
439,843
Latest member
PlanetFitness

### 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?

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