Space in my UNIQUE/VSTACK/SORT/FILTER formula??

thewiseguy

Well-known Member
Joined
May 23, 2005
Messages
1,019
Office Version
  1. 365
Platform
  1. Windows
hello everyone. I am having a hard time diagnosing why there is a blank row in my output. see cell B16 in the attached. Here is my formula:

=LET(u,UNIQUE(VSTACK(SORT(FILTER(Input!$Q$4:$Q$503,ISNA(XMATCH(Input!$Q$4:$Q$503,{"EMA Remove","EMA Locked","EMA No Measure"})))),SORT(Input!$V$4:$V$503),SORT(Input!$X$4:$X$503),SORT(Input!$Z$4:$Z$503),SORT(Input!$AB$4:$AB$503),SORT(Input!$AD$4:$AD$503),SORT(Input!$AF$4:$AF$503),SORT(Input!$AH$4:$AH$503),SORT(Recycle_Calc!B43:B46),SORT(Input!$AK$4:$AK$503))),FILTER(u,u<>""))

Any help would be greatly appreciated!
 

Attachments

  • spaceinoutput.png
    spaceinoutput.png
    34.1 KB · Views: 6

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
Most likely that cell contains something like a space.
 
Upvote 0
Most likely that cell contains something like a space.

I have found this formula is returning a 0 as the first line:

=SORT(UNIQUE(FILTER('Helper 2'!F3:F502,('Helper 2'!F3:F502<>"")*('Helper 2'!G3:G502<>0))))

any idea why?? (see attached)
 

Attachments

  • helper2.png
    helper2.png
    179.3 KB · Views: 4
Upvote 0
Presumably you have a 0 in column F somewhere.
 
Upvote 0
Presumably you have a 0 in column F somewhere.

yes i do. here is the formula is column F.

=IFERROR(XLOOKUP(B54,Tbl_Existing[Description],Tbl_Existing[RecycleBoxType]),"")

it is actually a blank, so how do i keep the formula but not have the 0 show as a result?
 
Upvote 0
No, there must be a cell returning 0. You filter out ""
 
Upvote 0
Solution

Forum statistics

Threads
1,224,913
Messages
6,181,704
Members
453,064
Latest member
robatthe2A

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