Help with an Index Match Array

  • Thread starter petes_girl via OfficeKB.com
  • Start date
P

petes_girl via OfficeKB.com

I have the following formula:

{=INDEX(nursetb!$D$1:$D$1354,MATCH(1,(ytd!C$2=nursetb!$A$1:$A$1354)*(ytd!
$A6=nursetb!$B$1:$B$1354),0))}


Which works great, but if there is no information to match etc it returns a
#n/a any chance I can get this to return a blank somehow.

Many thanks in advance

Petes girl
 
D

Dave Peterson

I'd try:

=if(sumproduct((ytd!C$2=nursetb!$A$1:$A$1354)*(ytd!$A6=nursetb!$B$1:$B$1354))=0,
"",yourindexformulahere)))
 
P

petes_girl via OfficeKB.com

T

T. Valko

Yes, because the MATCH portion is still an array.

Biff

petes_girl via OfficeKB.com said:
Hi Dave

thanks for that, will I have to enter the whole formula as an array ie
using
ctrl shift and enter?



Dave said:
I'd try:

=if(sumproduct((ytd!C$2=nursetb!$A$1:$A$1354)*(ytd!$A6=nursetb!$B$1:$B$1354))=0,
"",yourindexformulahere)))
I have the following formula:
[quoted text clipped - 11 lines]
 
Top