How to use Indirect function when tab name has spaces?

I am new to the indirect function.
I just found out about it from another question I asked, but now I tried it with a tab name that included a space.
Can the Indirect function use a tab name with spaces?
LVL 1
Alex CampbellAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

barry houdiniCommented:
When there are spaces then the sheet name has to be enclosed in single quotes so if cell A1 has a sheet name like sheet two and you want an INDIRECT function to refer to cell B3 in that sheet you can use INDIRECT like this
=INDIRECT("'"&A1&"'!B3")
Note: this works when the sheet doesn't have spaces so it's better to adopt this version to work with any sheet name
regards, barry
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Alex CampbellAuthor Commented:
Thanks,
Great response time and completely answered the question.
0
patrickabCommented:
Use:

=INDIRECT("'"&A1&"'"&"!A1")
0
patrickabCommented:
Oops - sorry Barry, I didn't refesh before pressing Submit. Not that it matters as you've already provided the solution and got the points.

Patrick
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.