+ Reply to Thread
Results 1 to 4 of 4

Return Multiple cells dependant on Selection from Drop down list

  1. #1
    Registered User
    Join Date
    07-05-2010
    Location
    Nottingham
    MS-Off Ver
    Excel 2003
    Posts
    5

    Return Multiple cells dependant on Selection from Drop down list

    Hi

    I seem to be a bit stuck on the following.

    I have created a world cup spreadsheet. On sheet 2 ( Renamed to 'Predictions') i have everyone in my offices predictions that range from cells A1 to E74. I.e See attachment 1.

    On Sheet 1 (Renamed to 'Points') i Have a drop down list of Everyones names

    What i would like is, if i select Tom from the drop down list to then show anywhere to the side of the drop down list everything from 'Predictions' for Tom. I.e all of Toms Predictions and if i select Paul for it to show all of Pauls predictions exactly as it is on the 'Predictions' Sheet. Hopefully something like Attachment2

    I have had a look at VLOOKUP and HLOOKUP but i can only seem to get 1 value returned.

    Any suggestions are much appreciated.

    Thanks
    Tom
    Attached Files Attached Files

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Return Multiple cells dependant on Selection from Drop down list

    Select the Range in Predictions sheet A1:G74 and name it through Insert|Name|Define and call it: Tom

    Do the same for the other tables naming with relevant names.

    Then in the Points sheet:

    In D2 enter: =A1

    In F6 enter:

    =INDEX(INDIRECT($A$1),ROW(A6),3)

    and copy down

    Then select and copy cell F6 and paste it to H6 and then copy down again.
    Attached Files Attached Files
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    07-05-2010
    Location
    Nottingham
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Return Multiple cells dependant on Selection from Drop down list

    Hi,

    Thanks for getting back to me so quickly.

    Unfortunatly both columns of predictions are exactly the same after selecting a name.

    Also i get what the formular is doing sort of but im just not sure what the ROW(A6) is doing as there is nothing in that cell.

    Thanks
    Tom

  4. #4
    Registered User
    Join Date
    07-05-2010
    Location
    Nottingham
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Return Multiple cells dependant on Selection from Drop down list

    Ignore Me i was being thick, I just changed the colum number to 5 instead of 3 on the second colum of predictions.

    Thanks very much for the help very much appreciated.

    Tom

+ 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