Help with a SUMPRODUCT formula

storm925

Board Regular
Joined
Jan 20, 2010
Messages
226
Hello Forum, just looking for a little help with a SUMPRODUCT formula. I've included a very simple example of my data. In cell C13 is where I need to place my formula. I need the formula to reference A13 and B13, and give me the total in C13. I may be putting in different dates in B13 and even different departments in A13. I hope this makes sense. I guess I could use a HLOOKUP formula, but I really wanted to see if I could accomplish it with a SUMPRODUCT. Thank you for taking a look at my post and any comments would be greatly appreciated. --Ben
A
B
C
D
E
1
Dept:
Jan-13
Feb-13
Mar-13
Apr-13
2
Mgt
1
1
1
1
3
Mgt
1
1
4
Com
1
1
1
1
5
Mgt
1
1
6
Mgt
1
1
7
Com
1
1
1
1
8
Mgt
1
1
9
Com
1
10
Com
1
1
1
11
12
Dept:
Date:
Count:
13
Mgt
Mar-13
4

<TBODY>
</TBODY>
 

Some videos you may like

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.

Weazel

Well-known Member
Joined
Dec 24, 2011
Messages
3,155
maybe..

=SUMPRODUCT((A2:A10=A13)*(B1:E1=B13),B2:E10)
 

Misca

Well-known Member
Joined
Aug 12, 2009
Messages
1,671
Excel Workbook
ABCDE
1Dept:Jan-13Feb-13Mar-13Apr-13
2Mgt1111
3Mgt11
4Com1111
5Mgt11
6Mgt11
7Com1111
8Mgt11
9Com1
10Com111
11
12Dept:Date:Count:
13MgtMar-134
Sheet
 

storm925

Board Regular
Joined
Jan 20, 2010
Messages
226
I just wanted to say thank you to both for your suggestions--they worked beautifully. --Ben :)
 

Watch MrExcel Video

Forum statistics

Threads
1,122,911
Messages
5,598,819
Members
414,260
Latest member
joishe

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
Top