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

Google Sheets, coloring a line depending on another column (conditional formatting for lines)

$
0
0

Imagine I have a table like the following.

enter image description here

Column A is the x-axis, e.g. time. Column B is some condition, e.g. 1 and 0 for yes and no or true and false. Column C has the y-values.I'd like to create a line chart that changes color depending on Column B, as in the following Figure (made manually in Geogebra)

enter image description here

However, I have absolutely no clue and cannot find anything. Perhaps I am looking for the wrong words.Thank you very much in advance


Viewing all articles
Browse latest Browse all 9782

Trending Articles



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