+ Reply to Thread
Results 1 to 3 of 3

Thread: Accessing named cell using a string

  1. #1
    Registered User
    Join Date
    03-11-2010
    Location
    Nottingham, England
    MS-Off Ver
    Excel 2007
    Posts
    2

    Accessing named cell using a string

    Hi

    If I have a cell which I have named "ZY", I would like to access this by building a string from row and column headings and then accessing the relevant cell. For example,

    If A2 contains "Z" and C1 contains "Y"

    I would like to say "=A2&C1" which, as you would expect returns "ZY".

    But how can I use this string to access the value stored in the cell NAMED ZY.

    I have been playing around with INDIRECT, CELL etc. but just can't see how to do it.

    Can it be done?

    Thx

    G

  2. #2
    Forum Moderator Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2007
    Posts
    5,953

    Re: Accessing named cell using a string

    Hi GxKendall, welcome to the forum.

    You should be able to use

    =INDIRECT(A2&C1)

  3. #3
    Registered User
    Join Date
    03-11-2010
    Location
    Nottingham, England
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Accessing named cell using a string

    Thank you. I think I still has some issues with accessing cells across different sheets - but this has put me on the right lines.

    Thx again.

    G

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.2.0