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

Replacing two distinct values inside a formulas at once using Control + H in Google Sheets

$
0
0

Let's say I have multiple formulas on different pages of the spreadsheet like this:

=ARRAYFORMULA(IFS(O2:O="","",O2:O="VOID","",L2:L=1,IF(P2:P>Q2:Q,"GREEN","RED"),L2:L="X",IF(P2:P=Q2:Q,"GREEN","RED"),L2:L=2,IF(P2:P<Q2:Q,"GREEN","RED"),J2:J="More than 2.5 goals",IF(P2:P+Q2:Q>2.5,"GREEN","RED")))

Is there a way to use Control + H to change all GREEN to RED and all RED to GREEN at once?

Something like I could do like what would happen if I used SUBSTITUTE on a string:

=SUBSTITUTE(SUBSTITUTE(RANGE,"GREEN","RED"),"RED","GREEN")

Viewing all articles
Browse latest Browse all 9782

Trending Articles



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