Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Generating Functions with "Concatenate"

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Generating Functions with "Concatenate"

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Generating Functions with "Concatenate"

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Functions for "current" & "previous" month to calculate data Priss Excel Worksheet Functions 11 April 15th 08 06:24 PM
Excel "Move or Copy" and "Delete" sheet functions dsiama Excel Worksheet Functions 1 December 28th 07 01:57 PM
Macro to concatenate into "B1" B2 thru B"x" based on new data in "Col A" Dennis Excel Discussion (Misc queries) 0 July 17th 06 02:38 PM
HELP on "left","right","find","len","substitute" functions serene83 Excel Discussion (Misc queries) 5 June 27th 06 02:23 AM
can we convert "2 days 16 hrs" to " 64hrs" using excel functions chris Excel Worksheet Functions 5 April 24th 06 12:53 AM


All times are GMT +1. The time now is 01:20 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"