UNIQUE/VSTACK/FILTER

thewiseguy

Well-known Member
Joined
May 23, 2005
Messages
1,027
Office Version
  1. 365
Platform
  1. Windows
Hi everyone,

I am having problems with this formula and was hoping someone could spot the problem:

=LET(u,UNIQUE(VSTACK(SORT(FILTER('BOM (Products)'!B7:B50,SORT('BOM (Rental)'!B7:B26))))),FILTER(u,u<>""))

I am getting a #VALUE! error but I believe there is an error in my formula.

Any help is appreciated!
 
I believe there is at least more than one mistake.
First, B7:B50 must correspond one-to-one with B7:B26. That is, maybe 'BOM (Rental)'!B7:B26 should be modified to 'BOM (Rental)'!B7:B50 .
Second, usually the second argument of the filter function does not use SORT, but instead uses something like 'BOM (Rental)'!B7:B50 = 1.
Third, VSTACK is clearly redundant here.
 
Upvote 0
Is this what you want
Excel Formula:
=LET(u,UNIQUE(VSTACK('BOM (Products)'!B7:B50,'BOM (Rental)'!B7:B26)),SORT(FILTER(u,u<>"")))
 
Upvote 0
Solution
Glad we could help & thanks for the feedback.
 
Upvote 0
thewiseguy,

Please Note: In the future, when marking a post as the solution, please mark the post that contains the solution (not your own post acknowledging that some other post was the solution).
When a post is marked as the solution, it is then shown right underneath the original question so people viewing the question can easily see the question and solution in a single quick glance without having to hunt through all the posts.

I have updated this thread for you.
 
Upvote 0

Forum statistics

Threads
1,226,848
Messages
6,193,315
Members
453,790
Latest member
yassinosnoo1

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