Help with an Index Match Array

  • Thread starter Thread starter petes_girl via OfficeKB.com
  • Start date 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
 
I'd try:

=if(sumproduct((ytd!C$2=nursetb!$A$1:$A$1354)*(ytd!$A6=nursetb!$B$1:$B$1354))=0,
"",yourindexformulahere)))
 
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]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top