Using Text string in Sum formula

J

JadeTiger

Hi,

Could someone help me with this please. I have a need to populate the range
of a Sum formula with a text string that I have dynamically created as the
result of several other variables in my workbook. The text string reads
"SUM(B5:B14)" but every time I try to use it as an argument in a larger
formula in another cell, it doesn't work.

Is there a way to pass text into a formula as an argument?

Thanks
 
J

Jacob Skaria

Have the range as the text string and use INDIRECT()

=SUM(INDIRECT("B5:B14"))
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top