+ Reply to Thread
Results 1 to 6 of 6

Need help with creating a formula to auto pop 3 fields based on selection in one field.

  1. #1
    Registered User
    Join Date
    12-02-2014
    Location
    Birmingham, AL
    MS-Off Ver
    Excel 2013
    Posts
    4

    Need help with creating a formula to auto pop 3 fields based on selection in one field.

    I am trying to build a form that allows a user to select a name in one field using a drop down box selection that will then populate three other fields with info that corresponds to a specific persons name.
    I have attached a spreadsheet with the data and the start of the form.
    I have tried different formulas and none have worked.
    Any help would be greatly appreciated.
    Thanks
    chiefgbQuote_Pricing form v2.xlsx

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Need help with creating a formula to auto pop 3 fields based on selection in one field

    Hi, welcome to the forum

    2 ways to do this...
    1. using vlookup
    =VLOOKUP($D$3,DATA2!$A$2:$D$25,1,0)
    change ,1, to ,2, etc for the different columns

    2. using INDEX/MATCH
    =INDEX(DATA2!$B$2:$D$25,MATCH($D$3,DATA2!$A$2:$A$25,0),MATCH(G3,DATA2!$B$1:$D$1,0))
    No adjustments needed, just make sure your headings all match (remove the # from Employee number#)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Valued Forum Contributor
    Join Date
    11-22-2014
    Location
    Arizona, USA
    MS-Off Ver
    Office 365
    Posts
    973

    Re: Need help with creating a formula to auto pop 3 fields based on selection in one field

    You need to make sure the labels match what is found on your headers on DATA2 and then these would be your formulas.
    Example of label corrections - Employee ID#, you either need to remove the # sign or add it to the DATA2 Labels

    J3
    Please Login or Register  to view this content.
    J5
    Please Login or Register  to view this content.
    D5
    Please Login or Register  to view this content.
    -If you think you are done, Start over - ELeGault

  4. #4
    Valued Forum Contributor
    Join Date
    11-22-2014
    Location
    Arizona, USA
    MS-Off Ver
    Office 365
    Posts
    973

    Re: Need help with creating a formula to auto pop 3 fields based on selection in one field

    FDibbins Strikes again...lol

  5. #5
    Registered User
    Join Date
    12-02-2014
    Location
    Birmingham, AL
    MS-Off Ver
    Excel 2013
    Posts
    4

    Re: Need help with creating a formula to auto pop 3 fields based on selection in one field

    Thank you this is perfect... Easy for you guys. I spent a couple of hours trying to get it to work.
    I may need more help later on as I complete the template.
    Thanks again
    chiefgb

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Need help with creating a formula to auto pop 3 fields based on selection in one field

    ELeGault, nice 1, and I only beat you by 3 mins lol

    @ cheifgb, you'r welcome. If this answered your question, please take a moment to mark the thread as "solved" - it helps keep things neat and tidy lol, and consider adding the reputation to those that helped (see points 2 & 3 below my 1st post to you)

    Also, look forward to seeing your next question

+ 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] Create Auto Populated list Field based off multiple fields
    By alendor in forum Excel General
    Replies: 4
    Last Post: 04-22-2014, 11:38 AM
  2. Auto-populate field based on drop down box selection
    By nicfarrell in forum Excel General
    Replies: 7
    Last Post: 01-21-2013, 12:47 AM
  3. Replies: 1
    Last Post: 08-28-2012, 12:32 AM
  4. [SOLVED] Cell auto fill based on another field drop down list selection
    By pugulis in forum Excel General
    Replies: 3
    Last Post: 03-22-2012, 07:38 AM
  5. Auto-populate fields based on selection from dropdown?
    By Aswert in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-20-2009, 03:26 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