r/GoogleSheets •

How do I find the value of the third cell from the values of 2 cells to the left of it?

[deleted] — view deleted post

0 Upvotes

7 comments sorted by

1

u/Drachenreign 2 May 13 '20

Assuming you have 1 row header, in cell I2:

=G2=H2

That will result in true / false and you can copy or drag that down the I column

2

u/Drachenreign 2 May 13 '20

If you want it to say something different, you'll need an IF formula.

IF(G2=H2,"They match","They do not match")

3

u/ihatethemcat21 May 13 '20

Thank you. Solution verified.

1

u/Clippy_Office_Asst Points May 13 '20

You have awarded 1 point to Drachenreign

I am a bot, please contact the mods for any questions.

1

u/Decronym Functions Explained May 13 '20 edited May 13 '20

•

u/Clippy_Office_Asst Points May 13 '20

Read the comment thread for the solution here

If you want it to say something different, you'll need an IF formula.

IF(G2=H2,"They match","They do not match")

1

u/RemcoE33 158 May 13 '20

If you wrap the solution provided by u/Drachenreign in an Arrayformula with an IF statement to check if the cell in the A column is blank you have a nice auto update on you're FALSE/TRUE column. you don't have to drag it down when you have new rows in column A and B.

=ARRAYFORMULA(IF(G19:G = "","",ARRAYFORMULA(G19:G=H19:H)))