Created
March 22, 2019 08:24
-
-
Save gauravv7/d42b55caebfa40154dd646bc8b6c7b90 to your computer and use it in GitHub Desktop.
get google cell background color hex code
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function getHex(input) { | |
| var ss = SpreadsheetApp.getActiveSpreadsheet(); | |
| var cell = ss.getRange(input); | |
| var result = cell.getBackground(); | |
| return result | |
| } |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
find duplicates
=countif(A:A,A1)>1
https://stackoverflow.com/questions/21899516/how-to-highlight-cell-if-value-duplicate-in-same-column-for-google-spreadsheet