Two Sum IF Formulas in one Statement

merrille

New Member
Joined
Aug 9, 2005
Messages
20
Hello Everyone,


I am looking to do 2 sum if formulas in one statement can anyone tell me how to get the second half done? I will be using the same data sheet columns the second formula would look like this both work now seperately but I need them both at the same time.



First Statement

=SUMIF(Data!H:H,"ALASKAN",Data!D:D)

Second Statement

=SUMIF(Data!G:G,"RATEING",Data!D:D)


Thanks

merrile
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
If your intent is to sum column D whenever column H is "Alaskan" AND column G is "Rateing" then try the following array entered formula:
=SUM((H:H="Alaskan")*(G:G="Rateing")*(D:D))
and enter the formula with Control+Shift+ENTER to make it function as an array formula.
Others likely will offer sumproduct solutions. HTH. Larry
 
Upvote 0
Try...

=SUMPRODUCT(--(Data!$G$2:$G$100="RATEING"),--(Data!$H$2:$H$100="ALASKAN"),Data!$D$2:$D$100)

Adjust the range accordingly. Note that SUMPRODUCT does not accept whole column references.

Hope this helps!
 
Upvote 0

Forum statistics

Threads
1,214,875
Messages
6,122,037
Members
449,062
Latest member
mike575

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