+ Reply to Thread
Results 1 to 13 of 13

Vlookup within Vlookups

Hybrid View

  1. #1
    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.
    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

  2. #2
    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

  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

    Solved.

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

    Use two NAMED ranges
    Contacts
    =OFFSET(customer_addresses!H1,MATCH(Sheet1!$M$6,customer_addresses!A:A,0)-1,0,1,COUNTA(OFFSET(customer_addresses!H1,Sheet1!M17,1,500)))
    and Consignees
    =OFFSET(Consignee!$A$1,MATCH(Sheet1!$M$6&"*",Consignee!$A$1:$A$1000,0),0,COUNTIF(Consignee!$A$1:$A$1000,"Client 1" & "*"))
    Attached Files Attached Files

  4. #4
    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
    =OFFSET(customer_addresses!$H$1,MATCH(Sheet1!$M$6,customer_addresses!A:A,0)-1,0,1,COUNTA(OFFSET(customer_addresses!$H$1,MATCH(Sheet1!$M$6,customer_addresses!A:A,0)-1,0,1,100)))
    Please use new attachement
    Attached Files Attached Files

  5. #5
    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