Countifs formula to count formula results

rafuk73

Banned
Joined
Aug 10, 2010
Messages
47
Hi,

I have formulas in column B looking at values column A and showing results such as Pass or Fail.
I wanted to use the Countifs to count how many time I had Pass in column B, but instead it counted every word "Pass" found in formulas.
How can I avoid counting "passes" written in formulas and only count "Pass" formula results

Thanks
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
is this what you're using

=COUNTIF(B:B,"Pass")
 
Last edited:
Upvote 0
Yes, I am using this one, but counts the word Pass in every formula in column B. What I need is counting results of the formula if it results in "Pass!", thanks
 
Upvote 0
Countif (or any formula for that matter), doesn't look at the text of the formula itself. It looks at the result of that formula.
Provided those formulas are actually entered as formulas, and showing results.

What I need is counting results of the formula if it results in "Pass!", thanks

Then your formula should probably be
=COUNTIF(B:B,"Pass!")
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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