Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I'm using Excel 2002 to generate commands using the Concatenate function to
lookup reference info in other cells. I can't get the text strings from Concatenate to be recognized as commands. I've tried "paste special" and selecting "formulas", but that didn't work. For example, I created a string ( =G3 ) with concatenate, but it is not recognized as a command. When I type the command in, it works, but appears the same as the concatenated text string. How can I make this into an executable command? Bill602 |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Try it like this:
=INDIRECT("G3") Or, using cells to hold the individual components: A1 = G B1 = 3 =INDIRECT(A1&B1) -- Biff Microsoft Excel MVP "Bill602" wrote in message ... I'm using Excel 2002 to generate commands using the Concatenate function to lookup reference info in other cells. I can't get the text strings from Concatenate to be recognized as commands. I've tried "paste special" and selecting "formulas", but that didn't work. For example, I created a string ( =G3 ) with concatenate, but it is not recognized as a command. When I type the command in, it works, but appears the same as the concatenated text string. How can I make this into an executable command? Bill602 |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
You could set up this user-defined function:
Function eval(func As String) Application.Volatile eval = Evaluate(func) End Function and then you could use it as: =eval(A1) and if A1 contains a string that represents an Excel formula then it will be evaluated. Hope this helps. Pete On Aug 14, 7:08*pm, Bill602 wrote: I'm using Excel 2002 to generate commands using the Concatenate function to lookup reference info in other cells. *I can't get the text strings from Concatenate to be recognized as commands. *I've tried "paste special" and selecting "formulas", but that didn't work. For example, I created a string ( =G3 ) with concatenate, but it is not recognized as a command. *When I type the command in, it works, but appears the same as the concatenated text string. *How can I make this into an executable command? Bill602 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Functions for "current" & "previous" month to calculate data | Excel Worksheet Functions | |||
Excel "Move or Copy" and "Delete" sheet functions | Excel Worksheet Functions | |||
Macro to concatenate into "B1" B2 thru B"x" based on new data in "Col A" | Excel Discussion (Misc queries) | |||
HELP on "left","right","find","len","substitute" functions | Excel Discussion (Misc queries) | |||
can we convert "2 days 16 hrs" to " 64hrs" using excel functions | Excel Worksheet Functions |