+ Reply to Thread
Results 1 to 5 of 5

Sort with combobox

  1. #1
    Registered User
    Join Date
    02-06-2012
    Location
    Detroit, Michigan
    MS-Off Ver
    Excel 2003
    Posts
    3

    Question Sort with combobox

    I am fairly well versed in excel, with the exception of complicated tasks (pivot tables, vba, etc.).
    My employer is asking if I can make an inventory connected to the Bill of Materials spreadsheet. What this would entail is a drop-down for each inventory item I am inserting into the BOM. This is simple, but I would like to know if there is a way to have a separate combobox used to sort the list of inventory items by columns. It would be able to sort by description, part number, series, cost, or any of the other column titles. And with this pre-emptive sort, I would like to browse the hundreds-thousands of parts with the remaining combo boxes for the part we are looking for, select it, and it will automatically fill the remaining fields of important information (description and cost).

    I do believe that this would be most useful if there is a separate 'Master' excel file, with the inventory, contacts, and what-not. This would have to be linked to the basic blank BOM form.

    Any help will be much appreciated.

  2. #2
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,238

    Re: Sort with combobox

    I think you should be looking at dependant validation, have a look here and see if it gets you started

    http://www.contextures.com/xldataval02.html

  3. #3
    Registered User
    Join Date
    02-06-2012
    Location
    Detroit, Michigan
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Sort with combobox

    Kyle,
    Thank you, this seems very relevant, and a much better option than combo boxes. Now is there a way to make it auto-fill the price when I select an item number?

  4. #4
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,238

    Re: Sort with combobox

    Without seeing your workbook it's difficult to make a suggestion, but probably VLOOKUP()

  5. #5
    Registered User
    Join Date
    02-06-2012
    Location
    Detroit, Michigan
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Sort with combobox

    I am uploading a sample inventory list. Each list is on a different sheet (not necessary, but useful in organization). The lists are from row 2 to row 35 on all of the lists. I am having trouble writing an equation to perform data validation, referencing information on different sheets.
    It should be simple:
    =INDIRECT(C5!C5)
    That is what I tried. I used this because the sheets and lists are labeled the same. Also, I do not believe VLookup will work for autofilling if the lists are on the same sheet because vlookup looks up the leftmost column (right?) and the lists would be in separate column groups (ex: WeldYoke from A-D, YokeShaft from E-H).
    edit: The data validation I was trying with the code was suppose to occur in B5:B19


    Just some thoughts on my part. If I am making this too complicated, let me know.

    OH! And for future reference, this is the BOM format we are looking at using. It is located on the SampleBOM sheet.
    Last edited by Abaauw; 02-06-2012 at 12:20 PM.

+ 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