简体   繁体   中英

FILTER formula rows and columns, excel

I have a data set, where I need to FILTER data according to columns and rows.

In excel support the suggestion is to use filtered data as array. I have done it (using fiter for columns, but I keep getting #value. error.

My current formula looks like this: =FILTER(FILTER('[MBS Sourcing Instructions V17.9 (1).xlsx]Buying Channel_Exception':$A$1,$NI$194.'[MBS Sourcing Instructions V17.9 (1):xlsx]Buying Channel_Exception',$A$1.$NI$2=C4).'[MBS Sourcing Instructions V17:9 (1),xlsx]Buying Channel_Exception',$D$1:$D$194=C2,""),

Now I need to filter the data according to the row A - country (starting from column F and then it consist of 4 next columns for each country) and to columns D (commodity code)

Kindly find sample data below.

Sample data

Your issue is the fact that you are referencing a range of 2 rows in

Buying Channel_Exception':$A$1:$NI$2

I presume this is because you have merged cells for your header and sub-header rows?

In any case, this needs to be a reference to a single row, for example

Buying Channel_Exception':$A$1:$NI$1

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM