Please help me identify error in Indirect formula

If I type in a cell "=name_range_1" I get the data in name_range_1
If I type in a cell "=name_range_2" I get the data in name_range_2
If I type in a cell "=+name_range_1" I get the data in name_range_1
If I type in a cell "=name_range1+name_range_2" I get the two numbers added up. So far so good.

If I type in a cell "=indirect(A5)" and in A5 I type in  "=name_range_1" I get the data in name_range_1
BUT
If I type in a cell "=indirect(A5)" and in A5 I type in "=+name_range_1" I get a #REF! (just added a "+" at the start, as worked above
AND
If I type in a cell "=indirect(A5)" and in A5 I type in "=name_range_1+name_range2" I get a #REF! (just added a "+" at the start, as worked above)


Why does adding a "+" symbol mess up the indirect formula?
How can I fix this so I can add two or more ranges via the indirect method
LVL 1
hawkeye_zzzAsked:
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.

Wayne Taylor (webtubbs)Commented:
=INDIRECT(A5)+INDIRECT(A6)

...assuming each of the name range names are in cells A5 and A5. If both are in A5 separated by a +, use this...

=INDIRECT(LEFT(A5, FIND("+", A5)-1))+INDIRECT(MID(A5, FIND("+", A5)+1, 999))

The reason why you can not use a single INDIRECT function is there are no circumstances where a + symbol would represent a range. INDIRECT does not evaluate an expression, but merely takes a string and converts it to its Range equivalent.

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
hawkeye_zzzAuthor Commented:
Thank you! very helpful and well explained.
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.