+ Reply to Thread
Results 1 to 16 of 16

Spare parts drop down list problem

  1. #1
    Registered User
    Join Date
    09-08-2018
    Location
    spalding lincs england
    MS-Off Ver
    excel 2013
    Posts
    12

    Spare parts drop down list problem

    Hi
    New to this forum & Excel.
    i am currently trying to make a customer spare parts quotation but have an issue with selecting "customer" "machine" "serial No." drop down lists.

    LIST.jpg

    My problem is:- we have 4 main "types" of machine, some customers have only 1 machine of 1 type, some have many machines of one type and some up to 3 different types. so how do i get dependent drop down list's to show the choice of up to 4 machine types (if the customer has 3 then show the 3 he has) then once the "type" has been selected. show the serial No.s of all that machine type the customer has.
    I have done this with data validation & named cells but as you can't have spaces in the "name" as with the customer name CUSTOMER.NAME or MACHINE25 this doesn't look good as an end result. Maybe someone knows if its possible to remove the "." and the "25" I have been colouring the text blue for now but its tedious
    Would appreciate any help with this as i have been trawling through hundreds of drop down tutorials but none of which suit my dilemma
    Attached Images Attached Images

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Spare parts drop down list problem

    Attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  3. #3
    Registered User
    Join Date
    09-08-2018
    Location
    spalding lincs england
    MS-Off Ver
    excel 2013
    Posts
    12

    Re: Spare parts drop down list problem

    Hi
    Thanks for the quick response, here is a simplified version of what i have at the moment.
    Not sure if its the correct way or not but need to get rid of the "." and "numbers" i had to use in naming tables.
    Attached Files Attached Files

  4. #4
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,223

    Re: Spare parts drop down list problem

    Your screen shot photo & attach file is different. Attach your actual file.


    atul


    If my answer (or that of other members) has helped you, please say "Thanks" by clicking the Add Reputation button at the foot of one of their posts.

    Also: if your problem is solved, please take the time to mark your thread as SOLVED by going to the top of your first post, selecting "Thread Tools" and then "Mark thread as solved".

  5. #5
    Registered User
    Join Date
    09-08-2018
    Location
    spalding lincs england
    MS-Off Ver
    excel 2013
    Posts
    12

    Re: Spare parts drop down list problem

    hi AVK
    Mehmetcik asked me to attach a sample, sorry i misread thought it was simple! Am I ok to leave the customer names and machine makes on it or do i need to replace
    with made up info as there are quite a lot, 70ish? thanks..

  6. #6
    Registered User
    Join Date
    09-08-2018
    Location
    spalding lincs england
    MS-Off Ver
    excel 2013
    Posts
    12

    Re: Spare parts drop down list problem

    The attached "SIMPLE" is a very small version but exactly the same way i did the drop down lists in my real worksheet...

  7. #7
    Registered User
    Join Date
    09-08-2018
    Location
    spalding lincs england
    MS-Off Ver
    excel 2013
    Posts
    12

    Re: Spare parts drop down list problem

    Hi AVK
    So,OK..
    here is my desensitized worksheet, have included the "spares list" in case there is an easy way to enter the
    part number on the the "quote" sheet and bring all the info from the "spares list " sheet into the "quote" sheet.
    At the moment i am copy/pasting, any advise will be most welcome. Thanks..
    Attached Files Attached Files

  8. #8
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,533

    Re: Spare parts drop down list problem

    As to the file attached to post #3:
    1) The periods are replaced with spaces for customer names and machines,
    2) The data validation for cell C4 has a source of: =INDIRECT(SUBSTITUTE(B4," ","."))
    3) The data validation for cell D4 has a source of: =INDIRECT(SUBSTITUTE(C4," ","."))
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  9. #9
    Registered User
    Join Date
    09-08-2018
    Location
    spalding lincs england
    MS-Off Ver
    excel 2013
    Posts
    12

    Re: Spare parts drop down list problem

    JeteMc
    Thanks for the reply.
    I think i may have confused the issue by suffixing my 4 types of machine a,b,c,d to match the customer, in reality there are only 4 "names of machine" so how can i differentiate the serial numbers if all 4 customers had the same type of machine? that's why in post #7 i had to suffix the "name box" with a number and its this I need to remove from the "quote" sheet. Please ask if you need any more info, thank you for your patience.

  10. #10
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,533

    Re: Spare parts drop down list problem

    For the file attached to post #7 the steps are similar to my earlier post with respect to the names and drop down in C17.
    As for the serial numbers:
    1) You could remove the number suffixes from the machines,
    2) Use the following as the source for the data validation in D17: =INDIRECT($C17&RIGHT(A17,LEN(A17)-SEARCH(" ",A17)))
    Let us know if you have any questions.
    Attached Files Attached Files

  11. #11
    Registered User
    Join Date
    09-08-2018
    Location
    spalding lincs england
    MS-Off Ver
    excel 2013
    Posts
    12

    Re: Spare parts drop down list problem

    Hi JeteMc
    I have tried your suggestion but does not seem to work maybe i have missed something.
    have attached another version
    the customer name is good all that's not is the machine suffix, not sure if when you remove the number from
    the end if the name length has an effect on the formula so have shown first letter then _ to give you the
    length. thanks again for your efforts...
    Attached Files Attached Files

  12. #12
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,533

    Re: Spare parts drop down list problem

    Works well on my end with the exception of Customer 3 co
    Is there a reason that the "co" needs to be added to that name?
    Attached Files Attached Files

  13. #13
    Registered User
    Join Date
    09-08-2018
    Location
    spalding lincs england
    MS-Off Ver
    excel 2013
    Posts
    12

    Re: Spare parts drop down list problem

    Our customer names vary, one/two/three or four words. e.g. JOE BLOGGS FRUIT CO / EVERGREEN FOODS / YUM YUM SNACKS, etc.

  14. #14
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,533

    Re: Spare parts drop down list problem

    In that case it would seem that something similar to the attached would work better.
    1) The actual customer name is in the drop down,
    2) B4 (which may be hidden and/or moved for aesthetic purposes) references the name using:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    3) The data validation for machine reverts to simply: =INDIRECT(B4)
    4) The data validation for serial number becomes: =INDIRECT($C4&RIGHT(B4,LEN(B4)-SEARCH(".",B4)))
    Let us know if you have any questions.
    Attached Files Attached Files

  15. #15
    Registered User
    Join Date
    09-08-2018
    Location
    spalding lincs england
    MS-Off Ver
    excel 2013
    Posts
    12

    Re: Spare parts drop down list problem

    BOOM! Thats it!! now all i have to do is transfere the formula to the real spreadsheet... thanks again for your expertise

  16. #16
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,533

    Re: Spare parts drop down list problem

    You're Welcome and thank you for the feedback. Please take a moment to mark the thread as 'Solved' using the thread tools drop down in the ribbon above your first post. I hope that you have a blessed day.

+ 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. Spare Parts Management Using Macros & VBA
    By NoviceExcelMan in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-06-2016, 07:34 PM
  2. Spare Parts Management
    By poobalanv in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-07-2014, 04:06 AM
  3. Replies: 7
    Last Post: 05-26-2013, 07:59 PM
  4. Scan parts OUT to Sheet1, parts IN to Sheet2 and list in Sheet3
    By Nu2Java in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-12-2012, 11:40 AM
  5. ABC spare part list
    By nileshmeher in forum Excel General
    Replies: 0
    Last Post: 07-21-2012, 04:33 AM
  6. problem with Drop List
    By ORIGINAL TEX in forum Excel General
    Replies: 1
    Last Post: 10-12-2009, 11:13 PM
  7. Replies: 6
    Last Post: 04-05-2006, 02:25 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