Trouble with Countifs

Tridiro

Board Regular
Joined
Apr 26, 2007
Messages
97
Hello Everyone,

I'm having a problem getting a COUNTIFS formula to work correctly. I have two columns of numbers; Both columns contain empty cells. I need to count all the cells in column A that contain numbers, but only if there is a number in the adjacent cell of column C.

Here is what is came up with, but it doesn't work.

=COUNTIFS(Equip!A:A,ISNUMBER(Equip!A:A),Equip!C:C,ISNUMBER(Equip!C:C)
 

Some videos you may like

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!

Aladin Akyurek

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

I'm having a problem getting a COUNTIFS formula to work correctly. I have two columns of numbers; Both columns contain empty cells. I need to count all the cells in column A that contain numbers, but only if there is a number in the adjacent cell of column C.

Here is what is came up with, but it doesn't work.

=COUNTIFS(Equip!A:A,ISNUMBER(Equip!A:A),Equip!C:C,ISNUMBER(Equip!C:C)

Try...

=SUMPRODUCT(--ISNUMBER(Equip!A2:A1000),--ISNUMBER(Equip!C2:C1000))
 

Watch MrExcel Video

Forum statistics

Threads
1,122,187
Messages
5,594,753
Members
413,930
Latest member
Nela817

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