Filter function, returning wanted columns

ajocius1

Board Regular
Joined
Dec 21, 2007
Messages
111
Office Version
  1. 365
Platform
  1. Windows
I have table with data in Excel sheet. I want to return list of records meeting criteria in a different sheet, but selecting only columns that I want to see. I have used formula:
=FILTER(FILTER(Table1[[A]:[D]];Table1[A]="ES");{1;0;1;0}). 4 Colums in source sheet, labeled A->D.
Where A to D corresponds to column letter. My table has 4 columns and I want to return only column 1 and 3 of this list.

Formula above led to error.

Have tried this with same formula, but using ;{1;0;1;0****} for rows and it did work, but I need column filtering.
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
77,691
Office Version
  1. 365
Platform
  1. Windows
Try it like
Excel Formula:
=FILTER(FILTER(Table1[[A]:[D]];Table1[A]="ES");{1\0\1\0})
 

ajocius1

Board Regular
Joined
Dec 21, 2007
Messages
111
Office Version
  1. 365
Platform
  1. Windows
thank you so much! "\" instead of ";" worked like a charm!
 

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
77,691
Office Version
  1. 365
Platform
  1. Windows
You're welcome & thanks for the feedback.
 

Forum statistics

Threads
1,176,025
Messages
5,900,962
Members
434,861
Latest member
Coffee_in_a_jiffy

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
Top