Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have a worksheet that someone else made and it has what I think is a
conditional formula =IF(ISNA(VLOOKUP(B9,patrols1,3,FALSE)),"(OT)",(VLO OKUP(B9,patrols1,3,FALSE))) can this be made to color the cell rather than display (OT)? |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
You can use Conditional Formatting, without having to change the formula at
all. Select the cell From the Format Menu, choose "Conditional Formatting..." Set "Cell Value Is" and "equal to" Enter ="(OT)" Set your format Click OK The (OT) will still be displayed, but if you really don't want that, then you change both the formula and the Conditional Formatting to "" instead of "(OT)" HTH, Elkar "Phazer" wrote: I have a worksheet that someone else made and it has what I think is a conditional formula =IF(ISNA(VLOOKUP(B9,patrols1,3,FALSE)),"(OT)",(VLO OKUP(B9,patrols1,3,FALSE))) can this be made to color the cell rather than display (OT)? |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Yes.
Select the cell with your formula and F2 then edit out the (OT) but leave "" to return a blank if no data found. You then would use FormatConditional FormattingCondition1Formula is: =cellref="" Format to a color you like. Gord Dibben MS Excel MVP On Mon, 8 Jan 2007 15:59:00 -0800, Phazer wrote: I have a worksheet that someone else made and it has what I think is a conditional formula =IF(ISNA(VLOOKUP(B9,patrols1,3,FALSE)),"(OT)",(VL OOKUP(B9,patrols1,3,FALSE))) can this be made to color the cell rather than display (OT)? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Using an offset formula for the reference in a relative reference | Excel Worksheet Functions | |||
Reusing formula | Excel Discussion (Misc queries) | |||
Custom functions calculating time arguments Help Desperate | Excel Worksheet Functions | |||
Deferring conditional formatting? | Excel Discussion (Misc queries) | |||
Formula Problem - interrupted by #VALUE! in other cells!? | Excel Worksheet Functions |