How to use Filter and UNIQUE with dynamic name for Certain Column in Whole Table

LearnMeExcel

Well-known Member
Joined
Aug 11, 2009
Messages
746
Office Version
  1. 365
  2. 2021
Platform
  1. Windows
Hi all
i have this Dynamic Name
Invoice_data=OFFSET(iDB!$A$1,1,0,COUNTA(iDB!$A:$A)-1,6)
and i use this formula to get unique
Not Paid List
CDE=SORT(UNIQUE(FILTER(C2:C51,F2:F51="Not Paid")))
EFG
MFC
XYZ
ZJC

this is my Data , and my Question
how i can use my Dynamic range in this formula to Select 3rd Column, to get same Result ?
=SORT(UNIQUE(FILTER(Invoice_data(here I want just colum C from Invoice_data ),Invoice_data(here I want just colum F from Invoice_data )="Not Paid")))
Invoice NumberDateCompany NameAmountCurrencyStatus
V - 141
15/01/2021​
XYZ
1153.132​
USDNot Paid
V - 157
17/01/2021​
FHG
4491.818​
USDPaid
V - 158
26/01/2021​
ZJC
6076.498​
USDPaid
V - 167
16/02/2021​
FHG
1105.557​
USDPaid
V - 173
17/02/2021​
XYZ
7338.599​
USDPaid
V - 184
21/02/2021​
CDE
2176.351​
USDPaid
V - 194
06/03/2021​
THC
7663.309​
USDPaid
V - 204
07/03/2021​
ZJC
2955.909​
USDPaid
V - 252
23/03/2021​
MFC
4456.528​
USDPaid
V - 278
28/03/2021​
ABC
3432.406​
USDPaid
V - 306
28/03/2021​
MFC
3381.936​
USDNot Paid
V - 325
31/03/2021​
JBR
7563.771​
USDPaid
V - 326
31/03/2021​
FHG
4094.144​
USDPaid
V - 327
19/04/2021​
EFG
7828.469​
USDPaid
V - 330
21/04/2021​
MFC
6602.376​
USDNot Paid
V - 342
23/04/2021​
XYZ
2979.044​
USDPaid
V - 374
25/04/2021​
FHG
7932.121​
USDPaid
V - 387
05/05/2021​
FHG
3621.784​
USDPaid
V - 397
06/05/2021​
FHG
4714.177​
USDPaid
V - 415
27/05/2021​
JBR
4942.058​
USDPaid
V - 433
27/05/2021​
CDE
7999.256​
USDPaid
V - 434
31/05/2021​
ABC
2743.007​
USDPaid
V - 478
31/05/2021​
THC
1122.415​
USDPaid
V - 523
02/06/2021​
EFG
4673.887​
USDPaid
V - 524
16/06/2021​
JBR
2126.972​
USDPaid
V - 531
21/06/2021​
XYZ
8576.646​
USDNot Paid
V - 544
25/06/2021​
MFC
8452.265​
USDNot Paid
V - 616
27/06/2021​
FHG
6481.728​
USDPaid
V - 637
07/07/2021​
CDE
4694.205​
USDNot Paid
V - 671
08/07/2021​
MFC
3248.498​
USDNot Paid
V - 677
24/07/2021​
ZJC
2986.056​
USDPaid
V - 703
07/08/2021​
THC
1342.146​
USDPaid
V - 759
11/09/2021​
JBR
4226.128​
USDPaid
V - 770
12/09/2021​
ZJC
1949.528​
USDPaid
V - 815
14/09/2021​
MFC
5725.759​
USDNot Paid
V - 846
28/09/2021​
FHG
8204.793​
USDPaid
V - 861
29/09/2021​
MFC
6108.563​
USDPaid
V - 887
01/10/2021​
FHG
2274.161​
USDPaid
V - 903
10/10/2021​
ZJC
5287.774​
USDPaid
V - 910
12/10/2021​
ZJC
7230.193​
USDNot Paid
V - 913
12/10/2021​
ABC
1109.748​
USDPaid
V - 926
29/10/2021​
CDE
2849.42​
USDPaid
V - 929
01/11/2021​
FHG
4117.116​
USDPaid
V - 934
04/11/2021​
MFC
4752.744​
USDPaid
V - 937
07/11/2021​
XYZ
4851.978​
USDPaid
V - 938
14/11/2021​
CDE
7279.049​
USDNot Paid
V - 965
27/11/2021​
XYZ
2766.666​
USDPaid
V - 966
28/11/2021​
JBR
4601.909​
USDPaid
V - 985
06/12/2021​
CDE
1092.158​
USDPaid
V - 986
15/12/2021​
EFG
1015.34​
USDNot Paid
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
Rather than using a dynamic named range, why not convert your data into a table & then you can use
Excel Formula:
=SORT(UNIQUE(FILTER(Invoice_data[Company Name],Invoice_data[Status]="Not Paid")))
 
Upvote 0
Hi Fluff
yes i am using table in most of my data, but in this case i want to use only Dynamic Name, is it Possible
 
Upvote 0
Ok, how about
Excel Formula:
=SORT(UNIQUE(FILTER(INDEX(Invoice_data,,3),INDEX(Invoice_data,,6)="Not Paid")))
 
Upvote 0
Solution

Forum statistics

Threads
1,223,885
Messages
6,175,180
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