Hi there I have a formula which returns #NA in several cells, is there a way to replace this with a zero without nesting an IF and ISNA and repeating the formula? It just feels a bit clunky... if anyone can streamline it I would be grateful.
My formula is:
=INDEX(INDIRECT("'"&A4&"'!$CW$112:$EA$163"),MATCH(B4,INDIRECT("'"&A4&"'!$b$112:$b$163"),0),MATCH($T$2,INDIRECT("'"&A4&"'!$Cw$7:$ea$7"),0))
and so to add the IF and ISNA it becomes:
=IF(ISNA(INDEX(INDIRECT("'"&A4&"'!$CW$112:$EA$163"),MATCH(B4,INDIRECT("'"&A4&"'!$b$112:$b$163"),0),MATCH($T$2,INDIRECT("'"&A4&"'!$Cw$7:$ea$7"),0))),0,INDEX(INDIRECT("'"&A4&"'!$CW$112:$EA$163"),MATCH(B4,INDIRECT("'"&A4&"'!$b$112:$b$163"),0),MATCH($T$2,INDIRECT("'"&A4&"'!$Cw$7:$ea$7"),0)))
which as you can see is a bit of a mouthful!!
Thanks
Bookmarks