I would like to populate a column R with the value YES, if another column N has a value of NO.


2 Answers 2


Use IF: http://spreadsheets.about.com/od/otherspreadsheets/qt/090808-google-spreadsheet-if-function.htm

The syntax for the IF function is: =IF ( test, then_true, otherwise_value ).


In order to populate an entire column, you must use the IF function in combination with an ARRAYFORMULA. Add the following formula in R1:




It says, that if column N has an entry named "NO", then add "YES" in the corresponding R column. If the above criterion isn't met, then show nothing (""). The ARRAYFORMULA will make it possible to use a complete column range.


I've prepared an example file for you: using IF

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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