+ Reply to Thread
Results 1 to 7 of 7

VLookup multi criteria.

  1. #1
    Registered User
    Join Date
    06-17-2010
    Location
    Essex, England
    MS-Off Ver
    Excel 2003
    Posts
    12

    VLookup multi criteria.

    Hi all,

    I'm trying to save myself a mountain of time by VLooking up a multi criteria.

    I've created a mountain of history for all possible outcomes for deviated mileage on a number of delivery routes (i work in transport by the way).

    My history in basic consists of a number of deliveries to reoccuring customers but in different sequences.

    Eg

    Monday - ABCD
    Tuesday - BCAD
    Wednesday - CDEBA
    Thursday - ACB
    Friday - DCBAE

    Blah blah and so forth.

    The chances are that the pattern emerges again somewhere down the history but i need a quicker way of searching for it.

    Is there any way i can create a search page with 5 headings "Customer 1, Customer 2, Customer 3...........etc." And create a data validation to select the customers and then that in turn searches for the same sequence of deliveries and gives me the deviated mileage specified in the last column.

    Hope this makes sense.

    Any help appreciated.

  2. #2
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591

    Re: VLookup multi criteria.

    Hi

    You should be able to do this with things like SUMPRODUCT and INDEX. Can you set up and attach an example spreadsheet that reflects your structure so we can review. From your example description, I'm not sure if the historical customer data is in 1 column, or multiple columns.

    rylo

  3. #3
    Registered User
    Join Date
    06-17-2010
    Location
    Essex, England
    MS-Off Ver
    Excel 2003
    Posts
    12

    Re: VLookup multi criteria.

    Quote Originally Posted by rylo View Post
    Hi

    You should be able to do this with things like SUMPRODUCT and INDEX. Can you set up and attach an example spreadsheet that reflects your structure so we can review. From your example description, I'm not sure if the historical customer data is in 1 column, or multiple columns.

    rylo
    I've attached a sample of what it looks like. I want to just select the sequence from the drop downs on the "search" Tab and then it finds the sequence on the "sequences" tab and displays the mileage in the "deviated mileage" cell.

    Hope this makes sense
    Attached Files Attached Files

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: VLookup multi criteria.

    Are you looking for the sum of the column I in the Available sequences page, where, each delivery code matches the searches...

    If so, try:

    Please Login or Register  to view this content.
    you would have to adjust the ranges for bigger database, and add a 5th SUMIF for the 5th sequence
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  5. #5
    Registered User
    Join Date
    06-17-2010
    Location
    Essex, England
    MS-Off Ver
    Excel 2003
    Posts
    12

    Re: VLookup multi criteria.

    Quote Originally Posted by NBVC View Post
    Are you looking for the sum of the column I in the Available sequences page, where, each delivery code matches the searches...

    If so, try:

    Please Login or Register  to view this content.
    you would have to adjust the ranges for bigger database, and add a 5th SUMIF for the 5th sequence
    Hi,

    Thanks for the response.

    What i'm trying to achieve is a simple way of finding what the mileage is in the last column on the "available sequences" sheet by selecting the individual delivery destinations (by store id) on the "search" tab. Normally it'd be easier to just data sort an find but the problem is i have to keep all the history in date order of occurance.

    Hope this makes sense

  6. #6
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: VLookup multi criteria.

    Maybe you should give examples of sample actual selections made and then the expected results (and how you arrived at them).

  7. #7
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591

    Re: VLookup multi criteria.

    Hi

    And what you expect to happen if there isn't a matching result for your query.

    rylo

+ 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