Formula Help

datadummy

Active Member
Joined
Mar 16, 2017
Messages
313
Office Version
  1. 365
Platform
  1. Windows
I am looking for a formula that will check 2 tabs for a matching name and date and then pull the corresponding data onto a new tab. For example look for John Smith in column B on tabs 1 and 2 and check for a matching date and if the name and dates match pull the row over to the tab with the formula.
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
With these 2 tabs:

Book1
ABCD
1NameDateSomething1Something2
2John1/1/20241a
3John2/2/20242b
4Jane3/3/20243c
5Jane4/4/20244d
6Jane5/5/20245e
7Max6/6/20246f
8
Tab1



Book1
ABCD
1NameDateSomething1Something2
2Jane3/3/20243c
3Amy7/7/20247g
4Jane5/5/20245e
5Max6/6/20246f
6John2/2/20242b
7
Tab2


You can just use a FILTER like this:

Book1
ABCD
1NameDateSomething1Something2
2John2/2/20242b
3Jane3/3/20243c
4Jane5/5/20245e
5Max6/6/20246f
6
Tab3
Cell Formulas
RangeFormula
A2:D5A2=FILTER('Tab1'!$A$2:$D$100,('Tab1'!$A$2:$A$100<>"")*(COUNTIFS('Tab2'!$A$2:$A$100,'Tab1'!$A$2:$A$100,'Tab2'!$B$2:$B$100,'Tab1'!$B$2:$B$100)),"N/A")
Dynamic array formulas.
 
Upvote 0

Forum statistics

Threads
1,224,814
Messages
6,181,123
Members
453,021
Latest member
Justyna P

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