+ Reply to Thread
Results 1 to 7 of 7

Auto-fill Data When Selecting Option From Drop-Down List

  1. #1
    Registered User
    Join Date
    10-29-2012
    Location
    Pigeon Forge, TN
    MS-Off Ver
    Excel 2007
    Posts
    23

    Auto-fill Data When Selecting Option From Drop-Down List

    Hello all,

    I'm looking to some how transpose data and/or have it automatically fill in cells on Sheet1 (Departures) cells B-E when selecting a "Unit" from the drop down list in cell A. I have input all the data that would be used to fill the cells into a separate sheet.

    Thanks in advance for any input.
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor Lemice's Avatar
    Join Date
    04-13-2013
    Location
    Somewhere.
    MS-Off Ver
    Excel 2016
    Posts
    696

    Re: Auto-fill Data When Selecting Option From Drop-Down List

    Hello,

    You can achieve this by using VLOOKUP
    Here is your sample file with formula attached.
    Attached Files Attached Files
    (copy pasta from Ford)
    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

    Regards,
    Lem

  3. #3
    Registered User
    Join Date
    10-29-2012
    Location
    Pigeon Forge, TN
    MS-Off Ver
    Excel 2007
    Posts
    23

    Re: Auto-fill Data When Selecting Option From Drop-Down List

    Thank you for that! Is there a way to remove all the 0's and only have the data fill-in cells B:E if there is actually data to pull from?

  4. #4
    Valued Forum Contributor Lemice's Avatar
    Join Date
    04-13-2013
    Location
    Somewhere.
    MS-Off Ver
    Excel 2016
    Posts
    696

    Re: Auto-fill Data When Selecting Option From Drop-Down List

    Yes you can, replace the formula in Cell B5 with the following one
    Please Login or Register  to view this content.
    And drag it right / down.
    Last edited by Lemice; 04-21-2013 at 01:19 PM.

  5. #5
    Registered User
    Join Date
    10-29-2012
    Location
    Pigeon Forge, TN
    MS-Off Ver
    Excel 2007
    Posts
    23

    Re: Auto-fill Data When Selecting Option From Drop-Down List

    Wondering if there is a formula to change G5:29's shade to black and font color to white if the word "TURN" is in the cell?

  6. #6
    Valued Forum Contributor Lemice's Avatar
    Join Date
    04-13-2013
    Location
    Somewhere.
    MS-Off Ver
    Excel 2016
    Posts
    696

    Re: Auto-fill Data When Selecting Option From Drop-Down List

    Yes you can, using Conditional Format (Format --> Conditional Format), and making use of the function ISNUMBER(SEARCH("Turn",G5,1)) assuming you are editing format on cell G5.

    The Formula above will return TRUE or FALSE if the word "Turn" is found or not in a Cell. If you can provide a sample file, it will be wonderful.

  7. #7
    Registered User
    Join Date
    10-29-2012
    Location
    Pigeon Forge, TN
    MS-Off Ver
    Excel 2007
    Posts
    23

    Re: Auto-fill Data When Selecting Option From Drop-Down List

    Is it possible to tweak a setting so that the formula doesn't get cleared out accidentally or when pressing delete to clear data?

+ 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