Sum formula that uses criteria from columns as well as rows

fsuguy92

New Member
Joined
Aug 27, 2015
Messages
34
[FONT=&quot]Hey guys, I need a formula that will sum data based on rows and columns. For instance - see my image attached.[/FONT]
[FONT=&quot]What I need is to lookup "NFLApparel" in column A and then sum up all of the values that correspond with row 40 = 1.[/FONT]
[FONT=&quot]So in this instance it would sum cells J50 and K50.[/FONT]
[FONT=&quot]I've tried sumproduct and some other formulas that I can't seem to get to work... thanks for your help!

UAJC9F6.png
[/FONT]
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)

Excel 2010
ABCDEFGHIJKLMN
21111
3NFLApparel87725950183085889224333091
4q39182819932939107659813650
5w69248916822530231684661038
6e66100505547817205863622129
7r472070709910033119238519067
8NFLApparel529339514317869446107766
9t478382863958100464568692394
10y101191688433259889394566
11u55288919533860429226732895
12i8641653241399797652401394
13o5063691438416235364749434
14NFLApparel721367773798785080710338
15NFLApparel83681669249472399928716411
16p685296161595398825831785
17
18
19947
20
21947
Sheet2
Cell Formulas
RangeFormula
B19=SUMPRODUCT(($A$3:$A$16=A3)*($B$2:$N$2=1)*$B$3:$N$16)
B21=C3+F3+J3+N3+C8+F8+J8+N8+C14+F14+J14+N14+C15+F15+J15+N15
 
Upvote 0

Forum statistics

Threads
1,214,832
Messages
6,121,843
Members
449,051
Latest member
excelquestion515

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