+ Reply to Thread
Results 1 to 4 of 4

Getting Value of Named Cell After Using User Input to Construct Cell Name

  1. #1
    Registered User
    Join Date
    05-30-2019
    Location
    Southern California
    MS-Off Ver
    2013
    Posts
    6

    Getting Value of Named Cell After Using User Input to Construct Cell Name

    Apologies if the title is confusing, it does describe what I want to do.

    I want the ability to type in text, then have Excel use that input to construct a cell name. Then I want to display the value of the cell that has the constructed cell name.

    So, for example, if a cell has the name JOHN_SCORE, I want to able to type in JOHN, then have Excel construct the cell name JOHN_SCORE, then display the value of JOHN_SCORE in a designated cell.

    So far everything I have tried results in Excel displaying the text "JOHN_SCORE" *as* the value, rather than using the text as the cell name and getting the corresponding value.

    I can use CONCATENATE(input, _SCORE) to construct the cell name, but I can't figure out how to tell Excel that this is a cell name,not a cell value.

    The attached sheet is a (very) simplified example of what I want to do.

    Any help appreciated!
    Attached Files Attached Files

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,737

    Re: Getting Value of Named Cell After Using User Input to Construct Cell Name

    You can do this:

    =INDIRECT(input_cell&"_SCORE")

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    05-30-2019
    Location
    Southern California
    MS-Off Ver
    2013
    Posts
    6

    Re: Getting Value of Named Cell After Using User Input to Construct Cell Name

    Excellent! Thank you Pete! That worked like a charm.

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,737

    Re: Getting Value of Named Cell After Using User Input to Construct Cell Name

    Glad to help.

    If that takes care of your original question, please take a moment to select Thread Tools from the menu above and to the right of your first post in this thread, and mark the thread as SOLVED.

    Also, since you are relatively new to the forum, you might like to know that you can directly thank those who have helped you by clicking on the small "star" icon located in the lower left corner of a post that you have found to be helpful (not just in this thread - for any post that has helped you). This also adds to the reputation of the poster (the small green bars in the poster's profile).

    Pete

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Having user input and a formula (that can incorporate the user input) in the same cell.
    By Super_Bob in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-21-2018, 05:55 AM
  2. Replies: 1
    Last Post: 02-18-2016, 06:38 PM
  3. Reference Worksheet Named from User Input
    By TxNyCa in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-22-2014, 12:34 PM
  4. How to add the value of User Input to value of in A Cell???
    By nlsnrn in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-06-2012, 10:22 AM
  5. search named ranges with user input
    By KrZyMiC in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 01-16-2011, 07:15 PM
  6. how to run a sub after a value of a named cell (or cells) is changed by user
    By luv2glyd in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-01-2010, 02:18 PM
  7. Have user input converted to uppercase in same cell as input?
    By Shannonn in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 06-19-2006, 10:25 PM

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.6.0 RC 1