+ Reply to Thread
Results 1 to 3 of 3

Need help on VLOOKUP with 2 or more Criteria

  1. #1
    Registered User
    Join Date
    11-06-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    29

    Unhappy Need help on VLOOKUP with 2 or more Criteria

    Hi,

    I need help on VLOOKUP with 2 or more Criteria on another sheet.
    one criteria would be date dependent (manual input of date) and the
    other would be based on a constant/fixed cell with ID number.

    e.g.

    Sheet1!
    Date - ID - Name - Area


    Sheet2!
    Date: (input manualy)

    Date - ID - Name - Area


    on the second sheet i need the formula that if i put a date say..27-Jan-13
    it will lookup on Sheet1 based also on ID no. which is a constant value in
    Sheet2.

    Hope u guys help me on this one...Thanks a lot...

    i have attached the excel sample file..just in case...:-)
    Attached Files Attached Files

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Need help on VLOOKUP with 2 or more Criteria

    hi chico.corrales. in Excel 2007 & above, you can try this in B3:
    =IFERROR(INDEX(Sheet1!B$2:B$11,MATCH(TRUE,INDEX(Sheet1!$B$2:$B$11&Sheet1!$C$2:$C$11=$C$1&$C3,),0)),"")

    or an array formula as such:
    =IFERROR(INDEX(Sheet1!B$2:B$11,MATCH($C$1&$C3,Sheet1!$B$2:$B$11&Sheet1!$C$2:$C$11,0)),"")
    for array formulas, you have to paste the formula inside the formula bar & press CTRL + SHIFT + ENTER

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Registered User
    Join Date
    11-06-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    29

    Re: Need help on VLOOKUP with 2 or more Criteria

    Thanks,

    benishiryo i appreciate your input, it is very helpfull..


    Chico

+ 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