+ Reply to Thread
Results 1 to 6 of 6

Need way to self populate multiple cells based on selection from drop down with NUMBERS

  1. #1
    Registered User
    Join Date
    12-20-2012
    Location
    US
    MS-Off Ver
    Excel 2010
    Posts
    5

    Lightbulb Need way to self populate multiple cells based on selection from drop down with NUMBERS

    This is what I need and what I already know: (Using Excel 2010)

    1. Have drop down with fraction sizes
    2. Depending on which fraction size is chosen, multiple cells will be populated with a corresponding decimal weight.
    3. Need multiple cells to populate a set of data based on a single drop down menu.

    For Example

    If I select 3/8 from a drop down list in A1, then B1 automatically populates with a specific weight that is tied to 3/8
    If I then select 1/2 from the same drop down in A1, then B1 would populate with a different weight that is tied to 1/2

    I've been here: http://www.contextures.com/xldataval02.html

    It helped me almost get there, but I want the B2 cell to SELF POPULATE with a single specific weight after I have made a selection in the drop down from A1. Also, these tips become more difficult when working with fractions and numbers and not words. I'm willing to hear any suggestions including formulas and vba codes. Also, If giving a formula, please explain each piece so I can potentially make changes or additions to the formula while still knowing what each piece means. THANK YOU.
    Last edited by Spodzemny; 12-20-2012 at 03:11 PM.

  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 way to self populate multiple cells based on selection from drop down with NUMBER

    welcome to the forum

    perhaps it would be easier to help you if you uploaded a sample workbook, showing what data you are working with, a few examples of what your expected outcome would be, and how you would arrive at that (remove any confidential info if necessary).

    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.
    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
    Registered User
    Join Date
    12-20-2012
    Location
    US
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Need way to self populate multiple cells based on selection from drop down with NUMBER

    BID TIPS.xlsx

    Ok so the attached workbook is what I need help with.

    In column C I've created different data validation lists based on the category section (wf beam, angle iron, sq tubing, etc.) So for example, each separate category will have a different validation list to choose from in column C. Once I choose a selection in a column C cell (c4 for example), I would like the adjacent cells in column D (d4 would go with the c4 example) to self populate a single number from another list. Just a single number, not another list. I would also like column G to self populate a specific entry based on the selection I've chosen in C column (g4 following along with the example.) As you can see in this spreadsheet, I've created the appropriate data validation drop downs for both column d and column g. The information is represented in the spreadsheet ITEM. If you click on that spreadsheet it shows what item to choose and then the cell to the right of each shows the single value I want to self populate. The same applies for angle iron.

    Any help? I'm open to have macros to get this done if someone could explain it step by step.

  4. #4
    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 way to self populate multiple cells based on selection from drop down with NUMBER

    I have started by setting up named ranges on the ITEM sheet (you will need to complete them). Then I added a helper column in sheet1 J (you can hide this if you want) for use with the range names. then in D4, copied down, I used
    =INDEX(INDIRECT(J4&1),MATCH(C4,INDIRECT(J4),0),2)

    take a look atthe attached and see if it gives you what you want (so far) I see that you have info JOINT LENGTH sheet, but it looks incomplete - you can probably use the same method I just did, to pull in that info
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    12-20-2012
    Location
    US
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Need way to self populate multiple cells based on selection from drop down with NUMBER

    Excellent! So far so good! Thank you so much! The joint length will just stay a simple validation list as it can vary with any item so that is perfect. Can I take the same formula and paste it to populate the G cell as well or would I need to introduce that another way on my items spreadsheet and change the formula slightly?

  6. #6
    Registered User
    Join Date
    12-20-2012
    Location
    US
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Need way to self populate multiple cells based on selection from drop down with NUMBER

    So I'm trying to now add the other categories, for example, steel tubing. But I'm not sure how to recreate the same formula that you provided for the angle iron and wf beam. The formulas all look the same. Am I missing something or not doing something right. I consider it could be a naming issue or something like that for the columns. I don't know. Any help?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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