+ Reply to Thread
Results 1 to 3 of 3

nested vlookup with if statement

  1. #1
    Valued Forum Contributor
    Join Date
    11-20-2003
    MS-Off Ver
    2010, 2016
    Posts
    1,176

    nested vlookup with if statement

    I am trying to match up two sheets and I the match criteria is based on the data from columns B, C, D, E, and G.

    Sheet 1 contains ~20,000 line items of data. Sheet 2 contains ~250 line items. I am comparing the info in sheet2 vs. the data in sheet1. Both sheets are formatted the same.

    For each row in sheet2, I need to compare against all rows in sheet1. For example; for the first row in sheet2, determine if there is a row in sheet1 that contains the exact same data for columns B, D, E, and G (all must be true) and the data in column C is False.

    Examples

    match found data would be as follows:
    sheet1
    columnB columnC columnD columnE columnF columnG
    822177...Sell.........380......65.96.....ignore.....166764100

    sheet2
    columnB columnC columnD columnE columnF columnG
    822177...Buy.........380......65.96.....ignore.....166764100

    match not found data would be as follows:
    sheet1
    columnB columnC columnD columnE columnF columnG
    822177...Sell.........380......65.96.....ignore.....166764100

    sheet2
    columnB columnC columnD columnE columnF columnG
    822177...Sell.........380......65.96.....ignore.....166764100

    I have attached spreadsheet if needed that shows example layout and desired results. Thanks for any comments.
    Attached Files Attached Files
    Last edited by maacmaac; 05-19-2009 at 12:08 PM.

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

    Re: nested vlookup with if statement

    Try:

    Please Login or Register  to view this content.
    copied down
    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.

  3. #3
    Valued Forum Contributor
    Join Date
    11-20-2003
    MS-Off Ver
    2010, 2016
    Posts
    1,176

    Re: nested vlookup with if statement

    Thanks for quick response. Solution is working. Exactly what I was looking for.

+ 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