IF function used in a range / Countif

Besh

New Member
Joined
Jun 16, 2011
Messages
31
Hi there,

Right now I'm sort of cheating and I would like to clean this up for future users/editors.

Currently, cell E2 is:
=IF(G55=26,"Evaluation Complete","Evaluation Incomplete")

While the G55 cell it's referencing is:
=COUNTIF(E5:G53,"x")

Ideally, I would like cell E2 to do everything by itself so to speak...

I want E2 to count the amount of "x" within the range E:G53. If it's = to 26, I want the cell to display ,"Evaluation Complete" and if it's < 26 I want it to display "Evaluation Incomplete".

How shall I go about doing this?

Thanks! Besh
 

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.
=IF(COUNTIF(E5:G53,"X")=26,"Evaluation complete","Evaluation incomplete")
 
Upvote 0
to add, it doesn't actually matter if it's < 26. false / true is enough i.e. if true = complete, if false = incomplete
 
Upvote 0
thanks for the reply, can u tell me why it would be displaying "0" in the cell as opposed to "Evaluation complete" or "Evaluation incomplete"? I copied and pasted exactly.
 
Upvote 0
i deleted the cell and completely replaced it with a new one and it worked, thanks for your help!

besh
 
Upvote 0

Forum statistics

Threads
1,224,527
Messages
6,179,337
Members
452,907
Latest member
Roland Deschain

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