+ Reply to Thread
Results 1 to 13 of 13

creating a drop down list for names and addresses

Hybrid View

flmoose Thanks to all the people who... 05-24-2008, 03:41 PM
mrice You can use a VLOOKUP formula... 05-24-2008, 04:02 PM
flmoose I don't think I was clear. ... 05-24-2008, 05:36 PM
flmoose Here's a example of what I... 05-24-2008, 06:04 PM
ratcat G'day flmoose, How many... 05-25-2008, 03:21 AM
  1. #1
    Registered User
    Join Date
    05-24-2008
    Posts
    12
    Thanks to all the people who posted in this thread, your info allowed me to create my drop down lists with addresses. However I need to find out how to go one step further.
    I'm writing a purchase order entry form for my company. I've used the above formulas to create drop down lists with addresses for each of our stores and vendors, but I need form to automatically select the correct "ship to:" location. Some stores will always have merchandise shipped to the store regardless of the vendor. Other stores will always have the product shipped to a warehouse location, but in a few stores the product will be shipped either to the store or a warehouse depending on the vendor.
    I've been able to work out the formulas for the stores that have shipments always to one location by creating a second address table and linking the selected store to it.

    Here is basically what I need:

    Store A + Vendor A = Store A
    Store A + Vendor B = Store A
    Store B + Vendor A = Warehouse
    Store B + Vendor B = Store B
    Store C + Vendor A = Warehouse
    Store C + Vendor B = Warehouse


    Is there any way to do this?

  2. #2
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967
    You can use a VLOOKUP formula concatenating the two criteria fields.

    e.g.

    =VLOOKUP(A1 & " + " & B1,G:H,2,0)
    Martin

  3. #3
    Registered User
    Join Date
    05-24-2008
    Posts
    12
    I don't think I was clear. I'm not looking to display and actual '+' sign, but more like an "if 'a' and 'b' then 'c'" The user will select a value (e.g. store location) from the drop down list in say cell a1 and select another value (e.g. vendor) from another drop down list in cell b2. The form will generate a value (e.g. shipping location) in a 3rd cell.
    If what you posted will do that, then I am confused about the formula you posted.

  4. #4
    Registered User
    Join Date
    05-24-2008
    Posts
    12
    Here's a example of what I need. I hope the upload works
    Attached Files Attached Files

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

    How many combo of shipment do you require. If more than 7, we'll have to go with plan B.

    Hope this helps
    Attached Files Attached Files
    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

  6. #6
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967
    Please see the attachment showing how the formula works.
    Attached Files Attached Files

+ 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