Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
How can I conditionally format (highlight) some cells in column E based on
the values in column C of the same row? I have no trouble highlighting a column based on it's values, but I need to highlight the cells in a column based on the values in a different column but the same row. Example: If C1 is negative, highlight E1 in red. If C2 is positive, highlight E2 in green. If C6 = "B", highlight E6 in yellow, etc. I'm having trouble having the value/formula in conditional formatting refer to a different cell, but cannot specify a specific cell for all rows, if that makes sense. Thanks. |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
1. Select the cell/Range (say E1:E10). Please note that the cell reference
E1 mentioned in the formula is the active cell in the selection. Active cell will have a white background even after selection 2. From menu FormatConditional Formatting 3. For Condition1Select 'Formula Is' and enter the below formula =C1<0 Click Format ButtonPattern and select your color (say Red) 4. Click on Add button. 5. For Condition2Select 'Formula Is' and enter the below formula =C10 Click Format ButtonPattern and select your color (say Green) 6. Click on Add button. 7. For Condition3Select 'Formula Is' and enter the below formula =C1="B" Click Format ButtonPattern and select your color (say Yellow) 8. Hit OK If this post helps click Yes --------------- Jacob Skaria "Friday" wrote: How can I conditionally format (highlight) some cells in column E based on the values in column C of the same row? I have no trouble highlighting a column based on it's values, but I need to highlight the cells in a column based on the values in a different column but the same row. Example: If C1 is negative, highlight E1 in red. If C2 is positive, highlight E2 in green. If C6 = "B", highlight E6 in yellow, etc. I'm having trouble having the value/formula in conditional formatting refer to a different cell, but cannot specify a specific cell for all rows, if that makes sense. Thanks. |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
What took you so long Jacob? It was almost 5 minutes before I received your
answer! (lol) Many thanks. "Jacob Skaria" wrote: 1. Select the cell/Range (say E1:E10). Please note that the cell reference E1 mentioned in the formula is the active cell in the selection. Active cell will have a white background even after selection 2. From menu FormatConditional Formatting 3. For Condition1Select 'Formula Is' and enter the below formula =C1<0 Click Format ButtonPattern and select your color (say Red) 4. Click on Add button. 5. For Condition2Select 'Formula Is' and enter the below formula =C10 Click Format ButtonPattern and select your color (say Green) 6. Click on Add button. 7. For Condition3Select 'Formula Is' and enter the below formula =C1="B" Click Format ButtonPattern and select your color (say Yellow) 8. Hit OK If this post helps click Yes --------------- Jacob Skaria "Friday" wrote: How can I conditionally format (highlight) some cells in column E based on the values in column C of the same row? I have no trouble highlighting a column based on it's values, but I need to highlight the cells in a column based on the values in a different column but the same row. Example: If C1 is negative, highlight E1 in red. If C2 is positive, highlight E2 in green. If C6 = "B", highlight E6 in yellow, etc. I'm having trouble having the value/formula in conditional formatting refer to a different cell, but cannot specify a specific cell for all rows, if that makes sense. Thanks. |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Cheers..
If this post helps click Yes --------------- Jacob Skaria "Friday" wrote: What took you so long Jacob? It was almost 5 minutes before I received your answer! (lol) Many thanks. "Jacob Skaria" wrote: 1. Select the cell/Range (say E1:E10). Please note that the cell reference E1 mentioned in the formula is the active cell in the selection. Active cell will have a white background even after selection 2. From menu FormatConditional Formatting 3. For Condition1Select 'Formula Is' and enter the below formula =C1<0 Click Format ButtonPattern and select your color (say Red) 4. Click on Add button. 5. For Condition2Select 'Formula Is' and enter the below formula =C10 Click Format ButtonPattern and select your color (say Green) 6. Click on Add button. 7. For Condition3Select 'Formula Is' and enter the below formula =C1="B" Click Format ButtonPattern and select your color (say Yellow) 8. Hit OK If this post helps click Yes --------------- Jacob Skaria "Friday" wrote: How can I conditionally format (highlight) some cells in column E based on the values in column C of the same row? I have no trouble highlighting a column based on it's values, but I need to highlight the cells in a column based on the values in a different column but the same row. Example: If C1 is negative, highlight E1 in red. If C2 is positive, highlight E2 in green. If C6 = "B", highlight E6 in yellow, etc. I'm having trouble having the value/formula in conditional formatting refer to a different cell, but cannot specify a specific cell for all rows, if that makes sense. Thanks. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Conditional format based on a different column | Excel Worksheet Functions | |||
Conditional format row based on 1 column. | Excel Discussion (Misc queries) | |||
conditional format on column based on cell value | Excel Worksheet Functions | |||
Conditional format based on data from another column | Excel Discussion (Misc queries) | |||
Conditional Format a column based on another | Excel Discussion (Misc queries) |