04-29-2019 04:01 PM
04-29-2019 04:01 PM
I want to create conditional formatting that would highlight a cell based on the previous cell in the same row, and the formatting can be applied to the entire table.
Example 1: I want cell F3 to be highlighted yellow if the current cell is greater than the previous cell AND the previous is not equal to zero.
Example 2: If the previous cell was 0, and the current cell has a value, I want the cell to be highlighted green.
Example 3: If the previous cell had a value, and the current cell is 0, I want the current cell to be highlighted red.
Is this possible?
04-30-2019 02:07 PMSolution
That could be like
for the yellow rule and similar for other (see attached file). Last multiplier is to exclude first column, or you may apply rules to your table starting from the second column.
05-01-2019 11:32 AM
Thank you so much for the help! It worked for me.
Followup question: Is it possible to create an intuitive/automated version of this conditional formatting, that it will automatically format new columns added to the table?
Again, thank you!
05-01-2019 12:58 PM
@charmbrooksrunning , you are welcome
If you add the column through this menu
conditional formatting range will be automatically expanded.
However, if you start adding data to the right of the table, new column will be added to the table automatically, but this time without the expanding of the conditional formatting range.
05-01-2019 04:18 PM
Got it. Your solution really helped me a lot with my work project. Thanks again!
08-22-2019 02:01 PM
@Sergei Baklan can you automatically populate cell based on words? Example: if PASS if typed into cell it auto goes to green fill. And if FAIL if typed, it goes to red fill?
08-22-2019 02:16 PM
Could you please clarify what do you mean under "goes to green fill"? Is it to change this cell color or move the content of the cell to another cell colored green?
08-23-2019 08:53 AM
The example below in the test result column. I was wondering that if it was possible that when PASS was typed or FAIL was typed that it would fill the cell with the appropriate color.
08-23-2019 01:09 PM
Let assume your Test Result column is L. Select entire column and create conditional formatting rule with formula
it looks like this
Add same way another rule for "FAIL"
08-28-2019 08:50 AM
@Sergei Baklan thank you so much. This will save me so much time when processing my reports. You are great at this.