CF question

Mel Smith

Well-known Member
Joined
Dec 13, 2005
Messages
1,023
Office Version
  1. 365
Platform
  1. Windows
I am trying to format cell AA2 on my spreadsheet so that if any cell in the range I4:IZ = Wrong it should display Fail, otherwise Pass.

Any help will be appreciated.

Mel
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
I forgot to add that the range should be I4:Z4. Also if the range is empty, so too AA2 display nothing.

Thanks.

Mel
 
Upvote 0
Is Column AA a calculation? If so, what is it? What do you mean by "WRONG"? Does the word "WRONG" show up in I4:Z4?
With what you have stated, the formula in cell AA4 would be:
Excel Formula:
=IF(Countif(I4:Z4,"Wrong")>0,"Fail","")

But, that is a formula not a format, so unsure if it is close to what you want. Is AA supposed to be a number returned from another calculation?
 
Upvote 0
AA2 is an empty cell Cells I4:Z4 will each display either "Correct" or "Wrong"

Mel
 
Upvote 0
Sorry, I4:Z4 will be blank, or display "Correct" or "Wrong"

Mel
 
Upvote 0
I don't think you can format a blank cell as a string. See what I put in POST2, I edited it.
 
Upvote 0

Forum statistics

Threads
1,215,170
Messages
6,123,416
Members
449,099
Latest member
COOT

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