Share via

Indirect function #REF! error

Anonymous
2024-08-07T13:38:33+00:00

I am trying to pull data from another tab, my formula is =@INDIRECT(O$4&"!B"&$A8) where O4 has the tab name and A8 has the row number. I am using the same formula in the same sheet to pull info from a different tab and it works (working formula =@INDIRECT(B$4&"!B"&$A8) where B4 is the tab name and A8 is the row number). Does this have something to do with the tab names? The working formula tab name is VOBA and the non-working formula is DAC 2017.

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Rory Archibald 18,965 Reputation points Volunteer Moderator
    2024-08-07T14:42:37+00:00

    You should always enclose the sheet name in single quotes in case it has special characters in it, so:

    =@INDIRECT("'"&O$4&"'!B"&$A8)

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments