+ Reply to Thread
Results 1 to 3 of 3

Drop Down List Auto Populating, wrong code?

  1. #1
    Registered User
    Join Date
    06-18-2014
    Location
    Albany, NY
    MS-Off Ver
    2016
    Posts
    22

    Drop Down List Auto Populating, wrong code?

    On my attached file, I am trying to auto-populate the cells in Z8-Z18 (QC Volumetrics Mix 1 (A)) based upon the corresponding selection from drop down list in Q7. I had thought it would be as simple and copying and pasting the code I have already used on QC Gradation Mix 1 (A) and changing it from pulling the data from the GradSpecs sheet to the BatchedList sheet. This didn't work however, and I played around a few times and was able to get the cells to populate depending on the selection, but the data wasn't in the proper cells and it looked funny, like the alignment had skewed itself somehow. SO I'm out of ideas and hopefully I'll be able to get some help here. Thank you in advance for your time.
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    06-18-2014
    Location
    Albany, NY
    MS-Off Ver
    2016
    Posts
    22

    Re: Drop Down List Auto Populating, wrong code?

    I figured it out. I was stuck in my own head. The only thing im not a fan of is that the formula carries over zeroes instead of leaving the cell blank, but i can easily work with that. It's far better than not having it.

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,869

    Re: Drop Down List Auto Populating, wrong code?

    Try this to get rid of unwanted zeroes:

    =IFERROR(1/1/your_formula),"")
    Last edited by AliGW; 05-29-2019 at 07:20 AM.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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. Auto-populating master schedule via drop-down function
    By sturmstories in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-09-2019, 11:56 AM
  2. Using VBA code to auto-populate sheets, but drop down list isn't passed through
    By smltheppl in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-09-2017, 11:27 AM
  3. [SOLVED] Auto populating cells with corresponding data based on Drop-down list.
    By Colortoned in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-29-2015, 04:15 PM
  4. auto populating based on a drop down selection
    By a_sherriff in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-04-2013, 04:43 PM
  5. Replies: 8
    Last Post: 08-07-2013, 12:04 PM
  6. Replies: 2
    Last Post: 06-05-2013, 10:45 PM
  7. Auto-populating w/ if statements and a drop down box
    By thisiscrazy in forum Excel General
    Replies: 9
    Last Post: 10-12-2010, 06:15 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