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

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
Try it like
Excel Formula:
=FILTER(FILTER(Table1[[A]:[D]];Table1[A]="ES");{1\0\1\0})
 
Upvote 0
thank you so much! "\" instead of ";" worked like a charm!
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,641
Messages
6,120,693
Members
448,979
Latest member
DET4492

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