Web Applications Stack Exchange is a question and answer site for power users of web applications. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to add a column of cells together only if the particular cell is colored green. Can I do this using conditional formatting on a google spreadsheet?

share|improve this question
an you share a doc with us? – Jacob Jan Tuinstra Jan 7 '13 at 17:21

No, Conditional formatting in Google Spreadsheets can only edit text and cell background color. You cannot use it to edit cell values. As Brian P pointed out you can use scripts to do it.

share|improve this answer

Yes, you can do this with a script (Tools >> Script editor) by using getBackgroundColor() in the Spreadsheet API.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.