Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I'm trying to change the line color to red based on data from two
different cells. An example would be if one cell is less than 6 months of time and training hours needed is greater than 0 then turn the line red. Conditional formatting won't work because of two different cells? Thank you! Mitch |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
You can still use Conditional Formatting. Just use the AND function.
Not sure what your actual data/formulas are, but you should be able to apply them using the following formula: =AND($A$1<6,$B$10) HTH, Elkar "lawdoggy" wrote: I'm trying to change the line color to red based on data from two different cells. An example would be if one cell is less than 6 months of time and training hours needed is greater than 0 then turn the line red. Conditional formatting won't work because of two different cells? Thank you! Mitch |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Thanks for the reply. I didn't specify clearly I want to change the
entire row color based on two different cell values. I can't figure out how to use conditional formating on based on two different cell data points? I can use conditional formatting on one cell with many different conditions but that would accomplish the row color. I think I might need a little VB code? Thanks...Mitch |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Never mind I figured it out thanks to the first reply. Thank you!
|
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
You should still be able to accomplish this. Just select your entire row,
then set the Conditional Formatting. Change "Cell Value Is" to "Formula Is". Then enter the formula (adjust to your needs): =AND($A$1<6,$B$10) Set your format. Click OK. The use of Absolute Cell Referencing ($A$1 instead of A1) will prevent the formula from incrementing across the entire row, allowing those 2 cells to be referenced by the entire row. If this isn't what you're looking for, then post back with more specific details/example of what you want. HTH, Elkar "lawdoggy" wrote: Thanks for the reply. I didn't specify clearly I want to change the entire row color based on two different cell values. I can't figure out how to use conditional formating on based on two different cell data points? I can use conditional formatting on one cell with many different conditions but that would accomplish the row color. I think I might need a little VB code? Thanks...Mitch |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Change line to bar in Line - Column graph | Charts and Charting in Excel | |||
How do I get a line break when using a formula to combine cells | Excel Worksheet Functions | |||
Custom functions calculating time arguments Help Desperate | Excel Worksheet Functions | |||
I Need to change reference sheet for all cells on a form | Excel Discussion (Misc queries) | |||
How do I link two cells as to allow me to change the value in eit. | Excel Discussion (Misc queries) |