I am making up a tab with data ordered vertical, and need to index and match with another tab where the data is ordered horizontal.
I have tried to do a tutorial on this, and it seemed do-able. I made an array formula which I think captures all criteria to get the right value, but it gives me #N/A.
I figured I'd use the following three criteria:
The formula is:
{=INDEX(Family_Distribution!A1:Z271,MATCH(1,(Family_Distribution!C1:X1=all_Results_Habitats!A38)*(Family_Distribution!A1:A271=all_Results_Habitats!B1)*(Family_Distribution!B:B="Count"),0),3)}
The table to perform the indexing and matching with looks like this:
The table where I place the formula looks like this:
What am I doing wrong?
试试看,不需要数组条目:
=INDEX(Family_Distribution!$C$2:$Z$271,MATCH(1,INDEX((Family_Distribution!$A$2:$A$271=all_Results_Habitats!B1)*(Family_Distribution!$B$2:$B$271="Count"),),0),MATCH(all_Results_Habitats!A38,Family_Distribution!$C$1:$Z$1,0))
我不会重新输入所有内容进行测试,因此未经测试:
=SUMIFS(INDEX(Family_Distribution!A:Z,MATCH($B$1,Family_Distribution!A:A,0)+MATCH("Count",Family_Distribution!B:B,0)-1,0),INDEX(Family_Distribution!A:Z,MATCH($B$1,Family_Distribution!A:A,0),0),B38)
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.