Combining countifs

tulipstreaky

New Member
Joined
Dec 22, 2011
Messages
3
Hi,

Help needed please.

I need to combine two Countifs statements with an ‘or’ but don’t know how to do it. I’m not an excel expert as you’ll soon see.

I want to be able to look for B1’s and if either the value in Entry1 or Entry2 is greater than zero, count them. However, if they’re both greater than zero, I only want to count them once.

I’ve had a go as you’ll see from the image, but it’s not right.

I know there are 7 rows that have entries with values greater than 1, but the formula which I know is wrong, brings back 4.

I’ve no doubt this is something simple to answer but I’ve tried different ways and can’t do it.

Thanks in advance for the help.
Phill
 

Attachments

  • 6E08BDAF-FC33-4858-AF04-54EA8AB2CE74.jpeg
    6E08BDAF-FC33-4858-AF04-54EA8AB2CE74.jpeg
    41.7 KB · Views: 10

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
Try a sumproduct:

=SUMPRODUCT(--(B3:B11="B1"),--(($C$3:$C$11+$D$3:$D$11)>0)
 
Upvote 0

Forum statistics

Threads
1,214,793
Messages
6,121,617
Members
449,039
Latest member
Mbone Mathonsi

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