+ Reply to Thread
Results 1 to 8 of 8

Drop-down Help!

  1. #1
    Registered User
    Join Date
    01-18-2012
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    4

    Drop-down Help!

    Hi,

    Best to explain with what I've got.

    Sheet 1:
    Hospital Score
    A 1
    B 2
    C 3
    D 4
    E 5

    On Sheet 2, I want to select a hospital from a drop down list (I know how to create drop down lists) (e.g. choose C) but instead of returning the value "C" when I select it, I want it to return the value "3" in the cell I'm selecting the drop down.

    Is this possible?

  2. #2
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,239

    Re: Drop-down Help!

    Not without introducing code.

    Why don't you have the score displayed in the cell next to it, then use VLOOKUP?

  3. #3
    Registered User
    Join Date
    01-18-2012
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Drop-down Help!

    How do I display the score next to it?

    I didn't do that for the sake of presentation...

  4. #4
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,239

    Re: Drop-down Help!

    Something like

    PHP Code: 
    =Vlookup(ValidationCell,'Sheet1'!$A$1:$B$5,2,False

  5. #5
    Registered User
    Join Date
    01-18-2012
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Drop-down Help!

    Erm....

  6. #6
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,239

    Re: Drop-down Help!

    Like this:
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    01-18-2012
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Drop-down Help!

    Ok got that

    But can you still show me the solution for the first way?

  8. #8
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,239

    Re: Drop-down Help!

    Put this in the code behind sheet2. Right click on the tab > view code > Paste the below

    This is based on my example

    Please Login or Register  to view this content.
    Last edited by Kyle123; 01-18-2012 at 08:31 AM. Reason: Typo

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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