I am attempting to reshape a dataset in excel from long to wide using the index-match combination, but my match index formula returns NA's
I checked to see if the match criteria we're correctly specified using a combination of sumproducts and countifs. This gave me the expected result of 1.
I feel like I am making some dumb syntax error in the index-match code and would love a little guidance.
=INDEX(D_DATABASE!$AA$4:$BBT$260,
MATCH(1,(AA$1=D_DATABASE!$N$4:$N$260)*
($U4=D_DATABASE!$U$4:$U$260)*
(AA$3=D_DATABASE!$AA$3:$BBT$3),0))
=SUMPRODUCT(COUNTIFS(AA$1,D_DATABASE!$N$4:$N$260,U4,
D_DATABASE!$U$4:$U$260,AA$3,
D_DATABASE!$AA$3:$BBT$3))
MATCH(1,(AA$1=D_DATABASE!$N$4:$N$260)* ($U4=D_DATABASE!$U$4:$U$260)* TRANSPOSE((AA$3=D_DATABASE!$AA$3:$BBT$3)),0)
– Tim Williams