Evaluate the meaning of a string in Excel.
October 22, 2009 12:24 PM
Subscribe
How do I store a string in one cell in Excel and interpret it as a (or for a) function in another cell? More info inside.
Simplified example:
Lets say I have random numbers in A1 through A15. In B1 I have the string "A1:A15". In B2, I want it to perform the MAX() function on whatever range is specified in B1. So if I change the string is B1 to something else, say "A10:A15", the maximum calculated in B2 is also reprocessed for the different set of data.
For some reason, I thought it would be something along the lines of:
=MAX(EVAL(B1))
But that is not the case. I seem to remember doing something similar before.
Thanks for your input!
posted by nickerbocker to computers & internet (10 comments total)
1 user marked this as a favorite
posted by odinsdream at 12:32 PM on October 22, 2009