View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.misc
AKphidelt AKphidelt is offline
external usenet poster
 
Posts: 461
Default Combine 2 cells to match a predefined name?

Use the indirect function

Such as

=Indirect("Inc."&A1)

"tgardiner" wrote:

I have different columns named 2007 (A1), 2008 (B1), 2009 (C1), etc. I have
a cell on a different sheet that I have named "Inc.2007". Is there a way to
combine "Inc."&A1 and have it return the value in the named cell?

As I do it now, I put ="Inc."&A1, and it returns the value "Inc.2007",
instead of the value that is named "Inc.2007'. Is there any way to make this
work?