-2

I'm making a quiz-type thing with Google Sheets- one as the user-end (where the quiztaker would input answers) and one as the answersheet. What I want to do is have a function in conditional formatting to see if the value in Cell B2, for instance, is equal to the value in Cell B2 of the answersheet. Quiz on user-end Quiz answer sheet Unlike the example shown in these screenshots, though, the actual quiz will be very large and I wouldn't want to go around pasting functions for EVERY SINGLE CELL. The end formula should see if Quiz(Current Cell No.) = Answersheet(Current Cell No.)

At first, I tried a series of functions to find the current cell's letter-number coordinates, which worked completely fine. =LEFT(ADDRESS(1,COLUMN(),4)) & ROW() and =SUBSTITUTE(ADDRESS(1, COLUMN(), 4), "1", "") & ROW() both worked perfectly in finding letter-number coordinates of the current cell. But I still needed a way to reference that cell, but in another sheet. '=Answersheet'!B2 could nicely find me the value of B2 (in the answersheet), but '=Answersheet'!(LEFT(ADDRESS(1,COLUMN(),4)) & ROW()) returned a formula parse error. I couldn't get on to trying to find how to compare the values because I'm still stuck at this step. Meanwhile, I'll just dawdle around and finish that project due tomorrow.

2
  • 1
    Welcome to StackOverflow! Please provide a minimal reproducible example in the form of markdown tables containing your sample input data and desired output. You may create one with the help of this link. Commented Sep 17 at 15:08
  • Have you considered creating a form instead of sharing a spreadsheet for collecting answers? Commented Sep 18 at 17:24

1 Answer 1

2

You just need INDIRECT() function. Try-

=INDIRECT("'Answersheet'!"&LEFT(ADDRESS(1,COLUMN(),4)) & ROW())

But, why not you use XLOOKUP() function to get answer from answersheet against particular question?

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.