+ Reply to Thread
Results 1 to 13 of 13

Vlookup within Vlookups

  1. #1
    Registered User
    Join Date
    12-02-2009
    Location
    Northampton, England
    MS-Off Ver
    Excel 2007
    Posts
    15

    Unhappy Vlookup within Vlookups

    Good morning

    I have attached my spreadsheet as it is so far.

    I'm trying to have a dropdown list of consignee's that are associated to the shipper.

    The shipper short code selects the shippers address.
    Then you select the contact from selected shipper. (Thanks to Lee yesterday for that)

    Now based on the shipper that is selected, each shipper may have upto 50 different consignee's that i want listed.

    If you look at second sheet and scroll along the top until you reach customer A, customer B, this is where i'm going to list all the particulars that are relevant to each consignee (as per list 1 column left of customer a).

    On some customers, every single row could be filled in and this information needs to be transferred into the first sheet.

    All i need to know (phew) is how to link the customer's consignee to the customer.

    Hope you follow my description of the challenge.

    Thanks for your time
    StuartEade
    Attached Files Attached Files
    Last edited by StuartEade; 12-04-2009 at 04:27 PM.

  2. #2
    Valued Forum Contributor rwgrietveld's Avatar
    Join Date
    09-02-2008
    Location
    Netherlands
    MS-Off Ver
    XL 2007 / XL 2010
    Posts
    1,671

    Re: Vlookup within Vlookups

    Make a name ´consignee´ which refrers to
    Please Login or Register  to view this content.
    Now with date validation in V14 =consignee
    Attached Files Attached Files
    Last edited by rwgrietveld; 12-03-2009 at 08:05 AM.
    Looking for great solutions but hate waiting?
    Seach this Forum through Google

    www.Google.com
    (e.g. +multiple +IF site:excelforum.com/excel-general/ )

    www.Google.com
    (e.g. +fill +combobox site:excelforum.com/excel-programming/ )

    Ave,
    Ricardo

  3. #3
    Valued Forum Contributor rwgrietveld's Avatar
    Join Date
    09-02-2008
    Location
    Netherlands
    MS-Off Ver
    XL 2007 / XL 2010
    Posts
    1,671

    Re: Vlookup within Vlookups

    I do hope that your layout will dramatically change. Especially with Lookup functions MERGING can get you in to trouble. Therefore I would suggest a layout without the merged cells.

  4. #4
    Registered User
    Join Date
    12-02-2009
    Location
    Northampton, England
    MS-Off Ver
    Excel 2007
    Posts
    15

    Re: Vlookup within Vlookups

    Thanks Ricardo,

    Please explain what you mean by "Make a name ´consignee´ which refrers to".

    Best Regards
    StuartEade

  5. #5
    Registered User
    Join Date
    12-02-2009
    Location
    Northampton, England
    MS-Off Ver
    Excel 2007
    Posts
    15

    Re: Vlookup within Vlookups

    Thanks for the tip about merging. I have changed it so it has no merged cells.
    Learn something new everyday!!

    Appreciate it
    StuartEade

  6. #6
    Valued Forum Contributor rwgrietveld's Avatar
    Join Date
    09-02-2008
    Location
    Netherlands
    MS-Off Ver
    XL 2007 / XL 2010
    Posts
    1,671

    Re: Vlookup within Vlookups

    Is your thread solved?

    I asumed you'd understand NAMES as our WB is full of them.

    Excel 2003: Insert Name
    Exce 2007: Name manager on the Formulas tab (ribbon)

  7. #7
    Registered User
    Join Date
    12-02-2009
    Location
    Northampton, England
    MS-Off Ver
    Excel 2007
    Posts
    15

    Re: Vlookup within Vlookups

    No thread is not solved.

    I followed your example but it didn't work.
    It displays a dropdown box with blank entries.

  8. #8
    Registered User
    Join Date
    12-02-2009
    Location
    Northampton, England
    MS-Off Ver
    Excel 2007
    Posts
    15

    Unhappy Re: Vlookup within Vlookups

    Ricardo I see what you have done.

    *correction*

    What you have done DOES work.

    I don't think I explained myself very well.

    Going back to my example, on customer_addresses sheet, if you scroll across to columns AL and AM, these columns are consignee's for customer A (there could be upto 50 columns per customer, then column AO is for customer B etc etc


    Thanks
    StuartEade
    Last edited by StuartEade; 12-03-2009 at 10:12 AM.

  9. #9
    Valued Forum Contributor rwgrietveld's Avatar
    Join Date
    09-02-2008
    Location
    Netherlands
    MS-Off Ver
    XL 2007 / XL 2010
    Posts
    1,671

    Re: Vlookup within Vlookups

    StuartEade,

    This can be done, but first do this for us.

    Clean up your WB. It looks terrible and this makes it hard to give you a suitable solution.

  10. #10
    Registered User
    Join Date
    12-02-2009
    Location
    Northampton, England
    MS-Off Ver
    Excel 2007
    Posts
    15

    Re: Vlookup within Vlookups

    Please find attached cleaned up worksheet to look at.
    Attached Files Attached Files

  11. #11
    Valued Forum Contributor rwgrietveld's Avatar
    Join Date
    09-02-2008
    Location
    Netherlands
    MS-Off Ver
    XL 2007 / XL 2010
    Posts
    1,671

    Re: Vlookup within Vlookups

    Solved.

    I reworked your WB even more to make it less complicated.

    Use two NAMED ranges
    Contacts
    Please Login or Register  to view this content.
    and Consignees
    Please Login or Register  to view this content.
    Attached Files Attached Files

  12. #12
    Valued Forum Contributor rwgrietveld's Avatar
    Join Date
    09-02-2008
    Location
    Netherlands
    MS-Off Ver
    XL 2007 / XL 2010
    Posts
    1,671

    Re: Vlookup within Vlookups

    Small error in Contacts
    Please Login or Register  to view this content.
    Please use new attachement
    Attached Files Attached Files

  13. #13
    Registered User
    Join Date
    12-02-2009
    Location
    Northampton, England
    MS-Off Ver
    Excel 2007
    Posts
    15

    Re: Vlookup within Vlookups

    Thankyou thankyou thankyou Ricardo!

    Works great.
    One thing though.

    On the consignee sheet you have done, client 1 may have 20 consignee's, client 2 may have 20, client 3 may have 50.
    This causes a problem.
    Any solution?


    Thankyou
    StuartEade
    Last edited by StuartEade; 12-04-2009 at 04:30 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