Iferror sum

mcgrath1980

New Member
Joined
Jan 17, 2019
Messages
12
Hi

I'm new to the site and the world of excel

I'm looking for some help, I am looking to add the total in cell G:G

My problem is I only want the total if Row F has the letter B in it and row H has the letters CC in it.

I have tried the following :
Iferror(sumproduct((H:H:G:G=M16)*(F:F=L16)),0)

I done this way to pull the text I was looking for into a separate cell thinking it would be easier to get my result.

Any help would be great thanks
 

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)
=SUMIFS(G1:G1000,F1:F1000,"B",H1:H1000,"CC"))

Dont use whole columns like G:G, limit the number of rows or you will get a slow response.

You shouldn't need IFERROR() unless your ranges have errors in them
 
Last edited:
Upvote 0

Forum statistics

Threads
1,216,091
Messages
6,128,775
Members
449,468
Latest member
AGreen17

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