Take the 2-minute tour ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

I am using Google Sheets and I have two sheets in one document (SHEET1 and SHEET2). I want to be able to use a formula that allows me to:

  • If cell A1, B1, D1 and F1 in SHEET1 have an s in them

  • Then cell A1 in SHEET2 automatically inputs an s in it

Can this be done?

share|improve this question

1 Answer 1

In SHEET2 in cell A1, add the following formula:

=IF(AND(Sheet1!A1="s";Sheet1!B1="s";Sheet1!D1="s";Sheet1!F1="s");"s";"invalid")

Is says:

If A1, B1, D1 and F1 in sheet 1 all contain an s then write s else write invalid

share|improve this answer
1  
I think you are missing the fact that the cells A1, B1, etc. are in a different sheet (ie. SHEET1). In which case you need to prefix the cell references with SHEET1!. –  w3d Apr 15 '13 at 11:18
    
@w3d Thanks for that !! –  Jacob Jan Tuinstra Apr 15 '13 at 11:22
    
@w3d I think you just added the 100th upvote on the google-spreadsheets tag –  Jacob Jan Tuinstra Apr 15 '13 at 11:25

Your Answer

 
discard

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.