+ Reply to Thread
Results 1 to 4 of 4

Matching entered cell with named range and copying the list

  1. #1
    Registered User
    Join Date
    01-06-2013
    Location
    london
    MS-Off Ver
    Excel 2003
    Posts
    9

    Matching entered cell with named range and copying the list

    Hi All,

    Im stuck on a formula and wondering if anyone can help me.

    The user enters all the staff names in different properties in the 'Staff' worksheet, naming the each column XXXCol. In the 'Results' worksheet, depending on the user selection in B2, the staff names relating to the property is copied into the worksheet.

    Results.xlsx

    If any can help, it would be most grateful.

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Matching entered cell with named range and copying the list

    hi taibe, welcome to the forum. say you want your results from D2 onwards, then try:
    =IF(ROWS(D$2:D2)>COUNTA(INDIRECT($B$2&"Col")),"",INDEX(INDIRECT($B$2&"Col"),ROWS(D$2:D2)))

    copy down as many cells as you desire

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Registered User
    Join Date
    01-06-2013
    Location
    london
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: Matching entered cell with named range and copying the list

    Hi Benishiroyo,

    Thanks, just what I wanted.

    Another off the topic question, I have created a dynamic range chart using a offset formula, works great with cells either blank or inputted data. However, it goes crazy when using the above formula. Anyway to get round this?

    Thanks in advance

  4. #4
    Registered User
    Join Date
    01-06-2013
    Location
    london
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: Matching entered cell with named range and copying the list

    Hi Benishiroyo,

    Thanks, just what I wanted.

    Another off the topic question, I have created a dynamic range chart using a offset formula, works great with cells either blank or inputted data. However, it goes crazy when using the above formula. Anyway to get round this?

    Thanks in advance

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