Excel Formulas to find matching record

Greemo

New Member
Joined
May 22, 2014
Messages
42
Hello,

I have two tables which contain records (rows) of unique values. What I need to find is which of the records from Table 1 are in Table 2 but with a specific different value for one of its columns.

Ex. Lets say record 1 from table 1 is:
ID#NameYear
1234PROJ12010

I want to see if this record exists in table 2 with each of the column values the same, except the year value being a value of only greater by 1. I.e. I want to verify this record is present in table 2 but in a 2011 year.

How can I see if record 1 from table 1 (along with a bunch of other records from table 1) exist in table 2 but in the record's following year?

Thanks for the direction.

Greemo
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
Sheet1

D2, control+shift+enter, not just enter:

=ISNUMBER(MATCH(1,IF(Sheet2!$A$2:$A$100=$A2,IF(Sheet2!$B$2:$B$100=$B2,IF(Sheet2!$C$2:$C$100=$C2+1,1))),0))+1

A result of 1 means a hit, otherwise a miss.
 
Upvote 0

Forum statistics

Threads
1,214,593
Messages
6,120,434
Members
448,961
Latest member
nzskater

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top