SUMIFS across multiple columns and one row

ryxk1

New Member
Joined
Jul 26, 2018
Messages
5
How can I find the sum of the values in columns 1-3 if column A equals Yes, column B equals FC, column C equals LE? This is just a sample set, the dataset I'm using has many more columns. Thanks.

ABCDE12345
YesFCLETBPM0.50.50.80.0050.005
YesTCRFTVPM0.80.80.80.0050.005
NoVCLETCPM0.60.60.70.80.8
NoFCLETCN/A0.70.70.70.80.8
YesFCLETBPM000.70.80.9
YesTCRFTBN/A000.70.90.9

<colgroup><col width="64" style="width:48pt" span="10"> </colgroup><tbody>
</tbody>
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
Perhaps

=sumproduct((a2:a7="yes")*(b2:b7="FC")*(c2:c7="LE")*(f2:j7))
 
Upvote 0
Hi,

If it's the "Total" of column 1-3, the last 2 columns probably shouldn't be included in the formula.
You thread title said "one row", formula included:


Book1
ABCDEFGHIJKLM
2YesFCLETBPM0.50.50.80.0050.0051.82.5
3YesTCRFTVPM0.80.80.80.0050.005
4NoVCLETCPM0.60.60.70.80.8
5NoFCLETCN/A0.70.70.70.80.8
6YesFCLETBPM000.70.80.90.7
7YesTCRFTBN/A000.70.90.9
Sheet172
Cell Formulas
RangeFormula
L2=IF(AND(A2="Yes",B2="FC",C2="LE"),SUM(F2:H2),"")
M2=SUMPRODUCT((A2:A7="Yes")*(B2:B7="FC")*(C2:C7="LE")*(F2:H7))


L2 formula copied down.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,503
Messages
6,125,175
Members
449,212
Latest member
kenmaldonado

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