+ Reply to Thread
Results 1 to 14 of 14

drop down lists to populate an order form

  1. #1
    Forum Contributor
    Join Date
    04-02-2010
    Location
    penrith
    MS-Off Ver
    Excel 2007
    Posts
    522

    drop down lists to populate an order form

    hi all,

    I am trying to use two drop down lists in an attempt to populate an order form -

    the drop down boxes are called

    SUPPLIER - this contains all the names of the suppliers I use

    STOCK DESIGNATION - this contains two phrases CONSIGNMENT STOCK and BOUGHT STOCK

    I want to be able to select a supplier and a stock designation and then for all matching items in the data sheet to auto fill an order form -

    Example

    in supplier i select PLUMB CENTER and in stock designation i select CONSIGNMENT

    the fields in the order form are headed ITEM DESCRIPTION, STOCK CODE and RE-ORDER QTY - i would need all the instances where PLUMB CENTER and correspondes with CONSIGNMENT STOCK to then fill the 25 or so lines of the order form automatically

    please help - desperate to get this working

  2. #2
    Valued Forum Contributor ratcat's Avatar
    Join Date
    03-07-2008
    Location
    Rural NSW, Australia
    MS-Off Ver
    Vista 2007
    Posts
    1,111

    Re: drop down lists to populate an order form

    G'day John,

    (It will be best for me if you) Upload a dummy worksheet with a before and after result as you are asking a number of steps.

    Plus here is some info on Excel Data Validation -- Create Dependent Lists

    Cheers

    RC
    Have I made you happy ??? If yes, please make me happy by pressing the http://www.excelforum.com/images/buttons/reputation-40b.png Add Reputation button in my post.
    Please don't forget to do the same to other contributors of this forum.

    Thanks
    I don't void confusion, I create it

  3. #3
    Forum Contributor
    Join Date
    04-02-2010
    Location
    penrith
    MS-Off Ver
    Excel 2007
    Posts
    522

    Re: drop down lists to populate an order form

    how do i upload to you

  4. #4
    Valued Forum Contributor ratcat's Avatar
    Join Date
    03-07-2008
    Location
    Rural NSW, Australia
    MS-Off Ver
    Vista 2007
    Posts
    1,111

    Re: drop down lists to populate an order form

    Must add 10 characters or more to just post the quote on its own.

    Quote Originally Posted by Excel Help Forum FAQ
    How do I attach a file to a post?

    To attach a file to your post, you need to be using the main 'New Post' or 'New Thread' page and not 'Quick Reply'. To use the main 'New Post' page, click the 'Post Reply' button in the relevant thread.

    On this page, below the message box, you will find a button labelled 'Manage Attachments'. Clicking this button will open a new window for uploading attachments. You can upload an attachment either from your computer or from another URL by using the appropriate box on this page. Alternatively you can click the Attachment Icon to open this page.

    To upload a file from your computer, click the 'Browse' button and locate the file. To upload a file from another URL, enter the full URL for the file in the second box on this page. Once you have completed one of the boxes, click 'Upload'.

    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.

  5. #5
    Forum Contributor
    Join Date
    04-02-2010
    Location
    penrith
    MS-Off Ver
    Excel 2007
    Posts
    522

    Re: drop down lists to populate an order form

    here is an attachment for you to have a look at i have only included the tab stock order data to try and give you a better idea of how i need the order form to work - the tab ORDER SHEET is one of two front header sheets I will be using to run the stock control the other is the stock movement sheet - any queries please ask

  6. #6
    Forum Contributor
    Join Date
    04-02-2010
    Location
    penrith
    MS-Off Ver
    Excel 2007
    Posts
    522

    Re: drop down lists to populate an order form

    just a quick note - the data in the tab RUNNING STOCK is the preferred feeder data for the stock order sheet

  7. #7
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: drop down lists to populate an order form

    nope no attachment
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  8. #8
    Forum Contributor
    Join Date
    04-02-2010
    Location
    penrith
    MS-Off Ver
    Excel 2007
    Posts
    522

    Re: drop down lists to populate an order form

    cheers martin
    Last edited by john dalton; 04-02-2010 at 10:26 AM.

  9. #9
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: drop down lists to populate an order form

    ok this is how i'd approach with functions it see notes on data sheet
    i t would probably be easier to use auto filter then copy paste which could be done with vba
    ps edit your post to remove that email address before you get badly spammed
    Attached Files Attached Files
    Last edited by martindwilson; 04-02-2010 at 09:55 AM.

  10. #10
    Forum Contributor
    Join Date
    04-02-2010
    Location
    penrith
    MS-Off Ver
    Excel 2007
    Posts
    522

    Re: drop down lists to populate an order form

    thats brilliant - would this work for stock levels then so when I selected the supplier and the stock designation it would automatically select only the stock relating to the criteria that was due for reorder via a re-order level in the running stock sheet?

    hope thats sounds right lol

    genius mate

  11. #11
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: drop down lists to populate an order form

    probably... as long as you can make an unique key then you can match anything but youd probably have to have an extra column that says true/false for each item then you could unique key all the trues in the same way 1-true 2-true and so on

  12. #12
    Forum Contributor
    Join Date
    04-02-2010
    Location
    penrith
    MS-Off Ver
    Excel 2007
    Posts
    522

    Re: drop down lists to populate an order form

    is it possible to thave the consignment and the bought stock listed as one set of data in the feeder sheet instead of two sheets saying CONSIGNMENT STOCK and BOUGHT STOCK - the reason i am asking is that my stock data sheet is listed as one whole list of information and there is no way I can split it - it works brilliantly I just need to be able to tweek it a bit to suit my format -

    next question - is there a way of having a button on the order sheet to run a macro that would automatically place all ordered items into the running stock sheet

    cheers JD

  13. #13
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: drop down lists to populate an order form

    you can do that but a slightly different approach is needed(i did it all on one sheet for clarity)
    as for the macro id suggest you start that as a new thread in the programming sub forum
    and as i said before you could use code to do the whole thing without functions
    Attached Files Attached Files

  14. #14
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: drop down lists to populate an order form

    oops wrong thread

+ 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