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

How to get conditional formatting in Google Sheets if a cell contains specific formula/function?

$
0
0

I would like to set conditional formatting in my GS for cells that not only are a formula, but have a specific type of formula.

I know I can do a conditional formatting to highlight cells that are formulase.g. Custom Formula = =isformula(A1)

But what if I want the conditional formatting only to apply to certain kinds of formulas?

e.g. if the cell contains a formula like =A1+B1+C1, then leave it aloneBut if the cell contains a formula that uses the Sum function, e.g. =SUM(A1:A5), then highlight it.

I tried to do Custom Formula = =iferror(find("SUM",A1),false) for the range A1:D but it doesn't work the way I want it to.

Can this be done?


Viewing all articles
Browse latest Browse all 9782

Trending Articles



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