Is it possible to get the font color of a cell in Google Sheets?
I have found a script for getting the colour of the background using getBackground()
. However, I can't find anything for text colour.
Yes there is a function called getFontColor().
Check the google documentation for more spreadsheet related references.
get this addon: https://chrome.google.com/webstore/detail/c
and then you can use easy IF
logic to get the color name:
=IF(COUNTFONTCOLOR("A1", "A1")=1, "red")
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With