FILTER from a few sheets

kumara_faith

Well-known Member
Joined
Aug 19, 2006
Messages
923
Office Version
  1. 365
Hi,

I have the following sample data located in Sheet1:

Book1
BCDEF
3Policy NoNamePayment TypeLast Payment DatePayment Amount
4123456Jay61/4/2022200
Sheet1


Then, I have the following sample data in Sheet2:

Book1
HIJKL
3Policy NoNamePayment TypeLast Payment DatePayment Amount
4123457May62/5/2022315
Sheet1


In Sheet3, I am trying to build a lookup to pull the data from Sheet1 and Sheet2 if the policy number matches:

Book1
OPQRS
3Policy No123456
4
5Policy NoNamePayment TypeLast Payment DatePayment Amount
6123456Jay644652200
Sheet1
Cell Formulas
RangeFormula
O6:S6O6=FILTER(B4:F4,B4=P3)
Dynamic array formulas.


I managed to look the data from Sheet1 but how do I modify the FILTER formula to look at both Sheet1 and Sheet2 to check if the policy number matches and populate the matching data accordingly ? Appreciate any help.
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
Hi,

I have a cross post here:

 
Upvote 0
How about
Excel Formula:
=LET(vs,VSTACK(B4:F100,Sheet2!B4:F100),FILTER(vs,INDEX(vs,,1)=P3))
 
Upvote 0
Hi Fluff,

Thank you and that worked as well. Appreciate your patience and have a great day.
 
Upvote 0
Glad to help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,584
Messages
6,125,670
Members
449,248
Latest member
wayneho98

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