Help with formula to count number of FALSE statements in a column

D_Spark

Board Regular
Joined
Feb 4, 2007
Messages
232
Hi all,

Im having difficulty in trying to count the number of FALSE statement in a specific column.

My current formula is

=COUNTIF(latestvoda!Q2:Q1611,"FALSE")


however this returns zero, I have tried the "FALSE" with and without the quotation marks and still the value returned is zero.



the forumla in series Q2:Q1611 is:

=IF(D2=3.75,"TRUE",IF(D2=21,"TRUE",IF(D2=11.91,"TRUE",IF(D2=18,"TRUE","FALSE"))))
=IF(D3=3.75,"TRUE",IF(D3=21,"TRUE",IF(D3=11.91,"TRUE",IF(D3=18,"TRUE","FALSE"))))


etc
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
Hi,

You can take the "" of TRUE and FALSE on your formula e.g...

=IF(D2=3.75,TRUE,IF(D2=21,TRUE,IF(D2=11.91,TRUE,IF(D2=18,TRUE,FALSE))))

then this formula should work...

=COUNTIF(latestvoda!Q2:Q1611,FALSE)
 
Upvote 0
Sorry I tried this and still shows zero when Im expecting more than 1 to be returned across the series Q
 
Upvote 0
Sorry,

I'm not sure why it's working. Hoefully somebody else will figure it out.

By the way, you can use the OR function in your IF statement to shorten it e.g.

=IF(OR(D2=3.75,D2=21,D2=11.91,D2=18),TRUE,FALSE)
 
Upvote 0
First, you can shorten the formula in Q2:Q1611 to

Code:
=OR(D2={3.75,21,11.91,18})

then you can count the FALSE, with

Code:
=COUNTIF(Q2:Q1611,FALSE)
 
Upvote 0

Forum statistics

Threads
1,224,597
Messages
6,179,808
Members
452,944
Latest member
2558216095

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