Filtering stacked ranges

RonOliver

Board Regular
Joined
Aug 30, 2022
Messages
99
Office Version
  1. 365
Platform
  1. Windows
Hi!

I have three ranges in Sheet1 with personal information (names, phone numbers, etc.) that I want to cast into one list in a different sheet while filtering out blank rows. I have devised this formula:
=FILTER(VSTACK(Sheet1!A9:G85,Sheet1!A89:G135,Sheet1!A149:G170),VSTACK(Sheet1!A9:G85,Sheet1!A89:G135,Sheet1!A149:G170)<>"")

These ranges are fixed, although some rows in the ranges will be blank or will contain IF formulas returning "". I have tried many different variations of this, but I'm constantly getting a VALUE error. What am I doing wrong? Would I need to change the formula altogether?

Appreciate your help!
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
You have to filter with only one column at a time.
you could do something like this:

Excel Formula:
=LET(d, VSTACK(Sheet1!A9:G85,Sheet1!A89:G135,Sheet1!A149:G170),
FILTER(d, CHOOSECOLS(d, 1)<>"")
)
 
Upvote 0
Solution

Forum statistics

Threads
1,224,817
Messages
6,181,144
Members
453,021
Latest member
Justyna P

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