"sumif" function

MARKEGANDERSON

Active Member
Joined
Apr 7, 2007
Messages
259
Hello All,

How would I sum an addition column for my Sumif Function?

Here's my scenario:

=SUMIF(G13:G62,F4,H13:H62)

I also want the sum of J13:J62, with the same above criteria-

Can I combine 2 Sumif functions?

or can i add something in the above formula to calculate both columns?

Thanks!
 

Some videos you may like

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,201
Hello All,

How would I sum an addition column for my Sumif Function?

Here's my scenario:

=SUMIF(G13:G62,F4,H13:H62)

I also want the sum of J13:J62, with the same above criteria-

Can I combine 2 Sumif functions?

or can i add something in the above formula to calculate both columns?

Thanks!

Either:

=SUMIF(G13:G62,F4,H13:H62)+SUMIF(G13:G62,F4,J13:J62)

Or, control+shift+enter, not just enter...

=SUM(IF(G13:G62=F4,H13:H62+J13:J62))
 

Watch MrExcel Video

Forum statistics

Threads
1,122,684
Messages
5,597,530
Members
414,152
Latest member
ReservoirDodds

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