Middleoftheroad
New Member
- Joined
- Apr 7, 2018
- Messages
- 4
Hi,
I have been puzzling over an Index match and formula for a few weeks now and was hoping someone could give me a nudge in the right direction.
I created the below formula which works on one spreadsheet (a). When I try to extend the formula to look at 2 columns (different value in each) I can't get it to work. See formula (b) below is what I have come up with but it doesn't work.
Any help would be really really appreciated!
Working formula (a) {=INDEX(INDIRECT("'"&$C$2&"'!D$2:D$908"),SMALL(IF(INDIRECT("'"&$C$2&"'!$C$2:$C$908")=$B$3,ROW(INDIRECT("'"&$C$2&"'!$C$2:$C$908"))-1),ROWS($C$32:C32)))}
Extended not working formula (b) INDEX(INDIRECT("'"&$C$2&"'!G$2:G$3000"),SMALL(IF(AND(INDIRECT("'"&$C$2&"'!$C$2:$F$3000")=$C$3,(INDIRECT("'"&$C$2&"'!$F$2:$F$3000")=$B$3,ROW(INDIRECT("'"&$C$2&"'!$F$2:$F$3000"))-1),ROWS($C$32:C32))))
I can't get formula b to move to array because of errors
Thanks
I have been puzzling over an Index match and formula for a few weeks now and was hoping someone could give me a nudge in the right direction.
I created the below formula which works on one spreadsheet (a). When I try to extend the formula to look at 2 columns (different value in each) I can't get it to work. See formula (b) below is what I have come up with but it doesn't work.
Any help would be really really appreciated!
Working formula (a) {=INDEX(INDIRECT("'"&$C$2&"'!D$2:D$908"),SMALL(IF(INDIRECT("'"&$C$2&"'!$C$2:$C$908")=$B$3,ROW(INDIRECT("'"&$C$2&"'!$C$2:$C$908"))-1),ROWS($C$32:C32)))}
Extended not working formula (b) INDEX(INDIRECT("'"&$C$2&"'!G$2:G$3000"),SMALL(IF(AND(INDIRECT("'"&$C$2&"'!$C$2:$F$3000")=$C$3,(INDIRECT("'"&$C$2&"'!$F$2:$F$3000")=$B$3,ROW(INDIRECT("'"&$C$2&"'!$F$2:$F$3000"))-1),ROWS($C$32:C32))))
I can't get formula b to move to array because of errors
Thanks