+ Reply to Thread
Results 1 to 3 of 3

VLOOKUP with 2 Criteria

Hybrid View

  1. #1
    Registered User
    Join Date
    07-03-2012
    Location
    Columbus, OH
    MS-Off Ver
    Excel 2010
    Posts
    5

    VLOOKUP with 2 Criteria

    I am trying to find the value of CSV! Column AE,

    if CSV! Column AC matches Sheet1! Cell A2 and CSV! Column AD matches Sheet1! Cell A3.

    The value should go into Sheet1! F3. You can see the formula I tried from someone with a similar question, but am getting an error in return.

    Any help would be appreciated.

    Thanks,

    Nick
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: VLOOKUP with 2 Criteria

    Maybe (probably) with an pivot table.

    See the attached file.

    This is just an example how you can do it.

    There are other options within a pivot table.
    Attached Files Attached Files
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: VLOOKUP with 2 Criteria

    This will work, but you have no match of A2 and E3 in CSV

    Add a helper column at the end in the data in CSV and use this, copied down...
    =AC39&AD39

    Then use this to find the info
    =INDEX(CSV!$AE$1:$CB$78,MATCH(Sheet1!A2&Sheet1!E3,CSV!$BZ$1:$BZ$78,0),1)

    However, the way you have your data laid out on sheet1 in column A is going to make things difficult. It would be better if you could have a column for call list, and then 2 more columns, 1 for start date and another for end date
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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