+ Reply to Thread
Results 1 to 8 of 8

Auto-fill data based on two drop-downs

  1. #1
    Registered User
    Join Date
    09-14-2019
    Location
    Swansea
    MS-Off Ver
    2010
    Posts
    8

    Auto-fill data based on two drop-downs

    Good morning everyone, I am looking for some help with quite a specific problem I have if possible please.

    I have a workbook to track my teams productivity in 8 areas. I have created a tab for each individual within the workbook which I populate with their numbers each month.

    What I would like to do, is create an additional tab in that workbook with two drop-downs. One for name and one for month, so that when I select their name from drop-down one, and the month from drop-down two, it will auto-fill their numbers from their individual sheet into the new tab so it can be printed.

    Is there a way to do this?

    Many thanks in advance

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,984

    Re: Auto-fill data based on two drop-downs

    Welcome, but... it's as clear as mud!!



    Will you please attach a SMALL sample Excel workbook (10-20 rows of data is usually enough)? However, please give us an indication of the approximate number of rows of data you want the solution to work with (100, 1000, 100,000 or whatever). Please don't attach a picture of an Excel sheet (no-one will want to re-type all your stuff before starting).

    1. It does NOT have to be your real sheet - mock up a SAMPLE if you need to. But not 1000's of rows!!! It makes manual checking so tedious. Whatever you do... make sure that all confidential information is removed first!!

    2. Make sure that your sample data are truly REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    3. Make sure that your desired solution is also shown (mock up the results manually).

    4. Try to avoid using merged cells. They cause lots of problems!

    Unfortunately the attachment icon doesn't work at the moment. So, to attach an Excel file you have to do the following: Just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Registered User
    Join Date
    09-14-2019
    Location
    Swansea
    MS-Off Ver
    2010
    Posts
    8

    Re: Auto-fill data based on two drop-downs

    Many thanks for your reply Glenn, attached as requested

  4. #4
    Registered User
    Join Date
    09-14-2019
    Location
    Swansea
    MS-Off Ver
    2010
    Posts
    8

    Re: Auto-fill data based on two drop-downs

    attachment
    Attached Files Attached Files

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,984

    Re: Auto-fill data based on two drop-downs

    Nope. Please re-read Point 3. I have no idea what you expect to see in any of the merged cells marked "Autofill here".

    Why are you using merged cells?

  6. #6
    Registered User
    Join Date
    09-14-2019
    Location
    Swansea
    MS-Off Ver
    2010
    Posts
    8

    Re: Auto-fill data based on two drop-downs

    re upload as requested with example page

    I dont have to use them, its more aesthetics really

    The areas that where marked autofill here need to be the relevant data from the agent sheet, based upon the name and month. For example. if changed to agent 2 and February, it should autofill from the agent 2 sheet and febs data
    Attached Files Attached Files
    Last edited by paullew17; 09-14-2019 at 07:00 AM.

  7. #7
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,984

    Re: Auto-fill data based on two drop-downs

    1. Kill ALL of the merged cells. Every one. No exceptions. They are the work of Satan and will drag you down in no time.

    2. Make sure the months in the column headers and the DD match. Jan is not the same as January.

    3. Use this formula:

    =INDEX(INDIRECT("'"&$B$1&"'!C5:N12"),MATCH(B7,INDIRECT("'"&$B$1&"'!B5:B12"),0),MATCH($H$4,INDIRECT("'"&$B$1&"'!C4:N4"),0))

    I have only done this for the first one. Try to do the rest yourself.

    If you learn only one thing here today - let it be that merged cells are horrible and should be uninvented.
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    09-14-2019
    Location
    Swansea
    MS-Off Ver
    2010
    Posts
    8

    Wink Re: Auto-fill data based on two drop-downs

    wow! Thank you so much, it works perfectly!

+ 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] Combine 2 data sets into one list based on user selection in drop downs.
    By Sassy13 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 04-01-2013, 01:46 PM
  2. Replies: 17
    Last Post: 02-05-2013, 08:20 PM
  3. Auto fill values based on drop down list
    By Jahoobie in forum Excel General
    Replies: 2
    Last Post: 09-21-2010, 11:04 AM
  4. Auto-update initial drop-down selection based on previous drop-downs
    By thornomad in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-16-2010, 09:55 AM
  5. Auto fill-in based on drop-down list
    By bigchalk in forum Excel General
    Replies: 2
    Last Post: 02-23-2010, 05:18 PM
  6. Fill cell based on values entered from two drop downs
    By foo.mac in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-19-2009, 02:40 PM
  7. Purchase Order with Drop downs that will Auto fill typical informa
    By rsera in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-27-2005, 01:06 AM

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