I want to setup a conditional formatting where a particular field highlights based on certain input in a another field.
For example, if field D16 has any one of the below values, I'd like to highlight field D17 in yellow; and keep it yellow, even if the user inputs something into D17:
Decommissioned
Retired
Retired & Transferred
Retired (Renamed)
Retired To Inventory
Any thoughts on a possible formula to do this?
Thanks in advance for any help!
bluetoast
03-16-12, 07:31 PM
For a second I thought SUMIF would work, but it would require numbers at some point. I think this might help for the highlighting, but I'm not sure how to get the initial conditions set up.
Keep formula in E16 same to display value (or adjust and shift columns over if text has to be in D16)
In D17, under Conditional Formatting, Formula Is: IF(E16<=5) (or shift columns)
ngp
03-19-12, 05:59 AM
Thanks all for the suggestions below...I'll look through each.
DleeDlee...I'll give this a try, that seems to be along the lines of what I want to accomplish.
Thanks again!!!
starman9000
03-19-12, 07:14 AM
Just go to conditional formatting, new rule, use a formula to determine which cells to format, and do this:
=OR(D16="Decommissioned",D16="Retired",d16=”Retired To Inventory”)
I get an error: "You may not use reference operators (such as unions, intersections, and ranges) or array constants for Conditional Formatting criteria."
I didn't mention in my original post but it's worth noting that the values in D16 are a picklist. I thought that the error above may have to do with that, however, I tried it on other cells and updating the formula for the general cell and still get the error.
starman9000
03-19-12, 08:18 AM
Oh sorry, I guess you might not be able to do that in 2010 (I tried it on 07 and it worked). Does it work with just a single criteria? (=D16="Decommissioned") If so, you could just make one for each.
ngp
03-19-12, 08:46 AM
Oh sorry, I guess you might not be able to do that in 2010 (I tried it on 07 and it worked). Does it work with just a single criteria? (=D16="Decommissioned") If so, you could just make one for each.
Must confess....my stupid mistake. In the last criteria, the quotation mark was the wrong type. Once I corrected that, it worked! Thanks!
starman9000
03-19-12, 10:13 AM
Oh good, I thought that would be a weird thing for them to change.