+ Reply to Thread
Results 1 to 4 of 4

VLookup with 3 criteria

  1. #1
    Registered User
    Join Date
    02-13-2010
    Location
    Bath
    MS-Off Ver
    Excel 2007
    Posts
    3

    VLookup with 3 criteria

    I have a list of equipment that has had meter readings on different dates through out the month. These are placed in three colums, Date, Equipment and Meter Readings. I am trying to make a cell show the last reading fof the month recorded for a specific piece of equipment. I can use VLOOKUP function to find the right reading for the equipment. I can also get it to find the right day of the month reading, but I cant get it to find the last day for the specific piece of equipment and showng the correct reading. Could someone tell if this is possible and what function would allow me to show this Value?

    Date Equipment Mileage
    01/01/2010 Car1 1000
    02/01/2010 Car 2 1000
    03/01/2010 Car3 1000
    04/01/2010 Car1 1100
    05/01/2010 Car3 1100
    06/01/2010 Car1 1200
    07/01/2010 Car2 1100

    Equipment Milage at the end of month
    Car 1 1200 Formula need to show these detals
    Car 2 1100
    Car 3 1100

    I hope there is someone with an Idea of this as I a stuck.
    Thanks
    Rob

  2. #2
    Banned User!
    Join Date
    10-14-2006
    Posts
    1,211

    Re: using vlookup with 3 criterias is it possible!

    G2: =lookup(2,1/((b$2:b$8=e2)*(c$2:c$8=f2)),a$2:a$8)
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    02-13-2010
    Location
    Bath
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: using vlookup with 3 criterias is it possible!

    Thats is just what I was looking for.

    Thanks for you help it has saved me days.

    Rob

  4. #4
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    Re: VLookup with 3 criteria

    Just FYI, another way.

    =SUMPRODUCT(--($B$2:$B$8=$E2),--($C$2:$C$8=F2),($A$2:$A$8))
    Palmetto

    Do you know . . . ?

    You can leave feedback and add to the reputation of all who contributed a helpful response to your solution by clicking the star icon located at the left in one of their post in this 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