Filter formula to return select columns if selection is not zero

kmsprague

New Member
Joined
Nov 14, 2022
Messages
27
Office Version
  1. 365
Platform
  1. Windows
Hi friends,
I've been spinning my wheels trying to figure out how to build a filter formula to return info for only people who do not have a zero value in one of 5 columns of a giant spreadsheet and pull them into another spreadsheet. In my example attached, I want to pull all the columns highlighted in green as long as at least one of the columns I-M has a value greater than zero. My current formula (and every version of it I've tried) keeps coming back with #VALUE. I'm sure it's something small I'm overlooking, but I've stared at it too much to see the error. =FILTER(FILTER(A2:N4,I2:M4>0),{1,2,3,9,10,11,12,13,14}) Can you please tell me where I'm going wrong? All help is greatly appreciated! Thank you!
 

Attachments

  • Mr Excel Example.png
    Mr Excel Example.png
    13.3 KB · Views: 7

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
How about
Excel Formula:
=FILTER(CHOOSECOLS(A2:N4,1,2,3,9,10,11,12,13,14),BYROW(I2:M4,LAMBDA(br,SUM(br)))>0)
 
Upvote 1
Solution

Forum statistics

Threads
1,215,772
Messages
6,126,806
Members
449,337
Latest member
BBV123

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