Filter function with the columns in unorganized order

Natit

Board Regular
Joined
Jan 22, 2012
Messages
58
Office Version
  1. 365
Platform
  1. Windows
Hi,
I added my filter command down heer.
When I try to add a column not in order, it masses all the data in the columns it shows.
What I mean is that I tried for example to add at the end, column B.
Any idea how to solve the problem?
=LET(
All_col,COLUMN(A:W),
data1,INDIRECT("'test'!o2:eek:"&parms!C1)=parms!B4,
data2,INDIRECT("'test'!q2:q"&parms!C1)=parms!C4,
FILTER(FILTER(INDIRECT("'test'!A2:w"&parms!C1),(data1)*(dat2)),(All_col=COLUMN(A:A))+(All_col=COLUMN(O:O))+(All_col=COLUMN(P:P))+(All_col=COLUMN(Q:Q))+(All_col=COLUMN(R:R))+(All_col=COLUMN(S:S))+(All_col=COLUMN(T:T))))
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
Found the solution.
No need for help in this question :)
 
Upvote 0

Forum statistics

Threads
1,221,572
Messages
6,160,583
Members
451,656
Latest member
SBulinski1975

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