Spill array that only shows rows that have value in certain cells

realtoast

New Member
Joined
Nov 24, 2015
Messages
47
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
  3. Mobile
  4. Web
I have a lengthy process that ends in a dynamic, single cell spill array (shown below). This array currently reports all records from a data table. However, I would like to exclude rows where certain cells are blank. I'm feeling like =FILTER() is the right tool, I'm just not able to configure it properly.

There are a couple thousand rows in my data. The columns where if all three values are blank, I'd like the row excluded are: "Vision Coverage", "Dental Coverage", and "Medical Coverage". Or, if you prefer, the columns are AM, AG, and BJ, respectively.

The spill array formula is below. This formula works as intended. So I only need to learn how to wrap FILTER() around it, with the above parameters, to exclude rows with the three blank values.

=LET(
b,"",pid,StartTable[Participant ID],clientNum,"35574",clientName,StartTable[Payroll Profile],
eeFn,StartTable[FirstName],eeMn,IF(StartTable[MiddleName]=""," ",StartTable[MiddleName]),eeLn,StartTable[LastName],eeGender,StartTable[Gender],
eeDOB,StartTable[DOB],eeDOH,StartTable[DOH],addr1,StartTable[Address1],addr2,IF(StartTable[Address2]="","",StartTable[Address2]),city,StartTable[City],state,StartTable[State],zip,StartTable[Zip],country,"USA",status,StartTable[DOL Status],ssn,StartTable[SS Number],ein,StartTable[Employee Code],medPlan,StartTable[Med Plan],denPlan,IF(StartTable[Dental Plan]="","",StartTable[Dental Plan]),visPlan,IF(StartTable[Vision Plan]="","",StartTable[Vision Plan]),depFN,StartTable[FirstName],depMn,StartTable[MiddleName],depLn,StartTable[LastName],depGender,StartTable[Gender],depDOB,StartTable[Birth Date],depSSN,IF(pid="D",StartTable[SSNumber],""),rel,StartTable[[Relationship]],depMemberNum,StartTable[depSubID],subIDType,IF(pid="D","S",""),subSSN,StartTable[subSSN],map,CHOOSE({1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38},pid,clientNum,clientName,eeFn,eeMn,eeLn,eeGender,eeDOB,eeDOH,addr1,addr2,city,state,zip,country,b,b,status,b,b,b,b,b,b,b,b,depSSN,ein,b,medPlan,denPlan,visPlan,b,depMemberNum,b,rel,subIDType,subSSN),
map)

Thank you.
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.

Forum statistics

Threads
1,224,815
Messages
6,181,135
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