+ Reply to Thread
Results 1 to 4 of 4

Using either vlookup or IF formula with one Data Validation drop down

  1. #1
    Registered User
    Join Date
    04-04-2013
    Location
    Joburg
    MS-Off Ver
    Excel 2010
    Posts
    2

    Using either vlookup or IF formula with one Data Validation drop down

    Hi All, I'm trying to set up a spreadsheet where people can either type in an employee number, or select an employee's name from a list if they don't know the employee number.

    I have a data source of all the employee numbers and the relevant employee names (example attached Book1.xls).

    I would like to set it up somehow, so that if the employee number is typed in the first column, then the name will appear in the second column. I know I can use a vlookup for this - however - I also want the option, that if the employee number is not known, you can select this employee name from a drop down list in the second column, and then it will somehow populate the employee number in the first column.

    This is where I keeping coming unstuck - I can do the vlookups on their own, or the data validation on it's own for a drop down list, but I just can't get it to all link together nicely.

    Can anyone help? Thanks!

  2. #2
    Valued Forum Contributor
    Join Date
    03-29-2013
    Location
    United Kingdom
    MS-Off Ver
    Office/Excel 2013
    Posts
    1,749

    Thumbs up Re: Using either vlookup or IF formula with one Data Validation drop down

    You can't input and display in the same cells because you will overwrite the lookup functions. See attached.

    Answer Book1.xls
    Elegant Simplicity............. Not Always

  3. #3
    Registered User
    Join Date
    04-04-2013
    Location
    Joburg
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Using either vlookup or IF formula with one Data Validation drop down

    Thanks very much for the answer book - I'll have a play around with it. I really appreciate the help!

  4. #4
    Valued Forum Contributor
    Join Date
    03-29-2013
    Location
    United Kingdom
    MS-Off Ver
    Office/Excel 2013
    Posts
    1,749

    Re: Using either vlookup or IF formula with one Data Validation drop down

    You're welcome

+ 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