0

I tried the solutions from this question but couldn't get it to work.

If C1:C5 = { 1, 1, 1, 2, 3 }

And B1 = 1

How can I return a reference to the last value of B1 (1), in this case, "C3" on Google Sheets?

migrated from superuser.com Aug 8 '17 at 16:58

This question came from our site for computer enthusiasts and power users.

1

This returns the row number of the last occurance:

=ArrayFormula(max(if(C1:C5=B1, Row(C1:C5))))

enter image description here

0

This works, as explained in an answer to the question you refer to:

=ADDRESS(ROW(A1)-1+MATCH(B1,C1:C5,1),COLUMN(C1))

It returns $C$3 for your example.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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