Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9691

Google Sheets conditional formatting multiple columns based on value relative to 1 column

$
0
0

I have a reference column of values (column A & B) and then all subsequent pairs of columns that get added to sheet, I want to highlight their value in relation to those two. So column C values, if higher than relative Column A value, mark green and highlight in red if lower. Same for Column D values, relative to Column B values. Ideally, I want 4 rules:

  1. If Column C, E, G, I, K, M > column A, mark each cell green
  2. If Column C, E, G, I, K, M < column A, mark each cell red
  3. If Column D, F, H, J, L, N > column B, mark each cell green
  4. If Column D, F, H, J, L, N < column B, mark each cell red

enter image description here

Right now, I can add a formula for each column, but that's cumbersome as I may end up with hundreds of columns as time goes on.


Viewing all articles
Browse latest Browse all 9691

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>