Conditional formatting

jackdiamond

Board Regular
Joined
Oct 10, 2007
Messages
220
Hello,

I have this formula in a cell =IF('IAN COLLINS'!J$22<=0,LOOKUP('IAN COLLINS'!J$6,{0,0.1,0.51},{"","1/2","1"}),"S")

When the cell shows an "S", can I do a conditional format to show the cell red?

thanks for any help
Stu
 
that all works fine. Thank you all very much for your help.

just one more thing......:)

If I have formulas along cells like previosly mentioned and the show for example 1 , 1/2 and S in the cells, what formula could i use to add up the totals of all the S's or all the 1's for example?

Some kind of look up function?

thanks again
 
Upvote 0

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
In CF, Cell Value Is, equal to, I entered:

="1/2"

formatted the cell and clicked OK. It did not work on Excel 2003 unless I formatted the cell with conditional format - as "Text". I will try it again when I go home on Excel 2007 and see if it works.
 
Last edited:
Upvote 0
I'm using 2003. How did you put the 1/2 in the cell?
 
Upvote 0
that all works fine. Thank you all very much for your help.

just one more thing......:)

If I have formulas along cells like previosly mentioned and the show for example 1 , 1/2 and S in the cells, what formula could i use to add up the totals of all the S's or all the 1's for example?

Some kind of look up function?

thanks again

Does that work without formatting the cell as "TEXT" ? Please clarify.
 
Upvote 0
yes, without formatting the cell. (assuming you are still talking about CF not my next question?)

Cheers
Stu
 
Upvote 0
I'm using 2003. How did you put the 1/2 in the cell?

Laugh Out Loud :LOL:

Assuming the cell A1 is the one which is conditionally formatted, I entered exactly: 1/2 and pressed enter immediately (I am on a windows XP desktop with SP3 & I am rite now in office, at work). The value entered was converted to a DATE by default and thereby causing the conditional format rule to fail.
 
Upvote 0
You can use Countif:
=COUNTIF($A$1:$A$100,"1/2")
for example.
 
Upvote 0
I don't know what you entered, so it's hard to say. I assume it's a PICNIC error... :biggrin:
 
Upvote 0

Forum statistics

Threads
1,215,745
Messages
6,126,632
Members
449,323
Latest member
Smarti1

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