Use dynamic array

sharshra

Active Member
Joined
Mar 20, 2013
Messages
404
Office Version
  1. 365
I have 2 tables. Desired output should contain only those rows from source table which has `no´ in the entry column & the name is present in reference table. I´m getting an incorrect result. I´m sure I´m making a mistake & I have to use dynamic array to get the desired output. Can the experts in this forum help please?


Source table:
excel problems.xlsx
BC
2nameentry
3dfds1
4gfhno
5uir7
6qewr8.4
7xcvzno
8cmvn2.55
9dhgdhno
10teywu3
11sdf4
12gdno
13hkfino
Sheet5


Reference table:
excel problems.xlsx
E
2name
3dfds
4qewr
5xcvz
6cmvn
7dhgdh
8teywu
9sdf
10gd
Sheet5


Desired output:
excel problems.xlsx
GH
2nameentry
3xcvzno
4dhgdhno
5gdno
Sheet5


Incorrect output:
excel problems.xlsx
KL
2nameentry
3gfhno
4xcvzno
5dhgdhno
6gdno
7hkfino
Sheet5
Cell Formulas
RangeFormula
K3:L7K3=LET( f,FILTER(Table2,(Table2[entry]="no")*(NOT(ISERROR(XLOOKUP(Table2[@name],Table3[name],Table3[name]))))), f)
Dynamic array formulas.
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
How about this?

Excel
ABCDEFG
1nameentrynameNameEntry
2dfds1dfdsxcvzno
3gfhnoqewrdhgdhno
4uir7xcvzgdno
5qewr8.4cmvn
6xcvznodhgdh
7cmvn2.55teywu
8dhgdhnosdf
9teywu3gd
10sdf4
11gdno
12hkfino
Sheet3
Cell Formulas
RangeFormula
F2:G4F2=FILTER(A2:B12,ISNUMBER(XMATCH(A2:A12,D2:D9))*(B2:B12="no"))
Dynamic array formulas.
 
Upvote 1
Perhaps this:
Excel Formula:
=FILTER(B3:C13,(C3:C13="no")*(IFNA(XMATCH(B3:B13,E3:E10,0),"")<>""))
 
Upvote 1
Solution

Forum statistics

Threads
1,223,880
Messages
6,175,157
Members
452,615
Latest member
bogeys2birdies

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