+ Reply to Thread
Results 1 to 7 of 7

Automatic Population

  1. #1
    Registered User
    Join Date
    03-25-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    3

    Automatic Population

    Hello!

    I'm a department manager at a manufacturing plant and I've been working on an hourly performance management spreadsheet to track operator production versus standards. Each product has a different run speed (i.e. Cereal Box @ 20,000 units per hour). I've gone so far as to list each product and create a drop down list using the data validation feature. My goal is to automatically populate the standard speed cell based on what product is selected from the drop down list. Any ideas?

    Thanks!

  2. #2
    Forum Expert DGagnon's Avatar
    Join Date
    02-23-2012
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2003, 2007
    Posts
    1,645

    Re: Automatic Population

    you can do this with a vlookup, something like this:

    =VLOOKUP(A1,Sheet2!A:B,2,0)

    where A1 is your dropdown list
    Sheet 2 range A:B has a list of yoru products (Drop Downs) and units per hour
    2 means after you find A1 in the range, look at the second column of the range and return that
    0 means find an exact match.
    If you liked my solution, please click on the Star -- to add to my reputation

    If your issue as been resolved, please clearly state so and mark the thread as [SOLVED] using the thread tools just above the first post.

  3. #3
    Registered User
    Join Date
    03-25-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Automatic Population

    That worked great! Is there any way to not show #N/A when the drop down field is blank?

  4. #4
    Forum Expert DGagnon's Avatar
    Join Date
    02-23-2012
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2003, 2007
    Posts
    1,645

    Re: Automatic Population

    Sure is, give this a shot

    =IFERROR(VLOOKUP(A1,Sheet2!A:B,2,0),"")

  5. #5
    Registered User
    Join Date
    03-25-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Automatic Population

    Wonderful! Now for some aesthetics...I would like for their actual speed to show up in green if it exceeds the standard speed and in red if it doesn't. How could I go about doing that?

  6. #6
    Forum Expert DGagnon's Avatar
    Join Date
    02-23-2012
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2003, 2007
    Posts
    1,645

    Re: Automatic Population

    you can do that with conditional formating, just select the column you want to compare add a new conditional format select formula and use something like this

    =$A1>$B1

    or something along those lines depending where and which way you want to go.

  7. #7
    Forum Contributor darknation144's Avatar
    Join Date
    01-24-2012
    Location
    London
    MS-Off Ver
    Microsoft Excel 365 MSO
    Posts
    555

    Re: Automatic Population

    Do you still need help with this?

+ 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