I have an Excel sheet something like the following:
A B C 1 1 cat 4 2 2 dog 4 3 3 bird 2
On another sheet, I want to get the data for a row based on value in a cell, e.g. if A1 = 2 I want to display the name of the animal for row 2 on a particular cell (in this case,
I’m trying to use
=INDIRECT("Sheet1!'"&A1"') but it doesn’t work.
I suspect you are using Excel on a Mac and are trying to match a number formatted as a number against a number formatted as text. Try copying A1 from one sheet to the other, then:
for animal name and change
3 for number of legs.