index match with blank entries

  • Thread starter Thread starter andrewm
  • Start date Start date
A

andrewm

Hi

I have a formula - =index(B1:B10,(match(C1,A1:A10,0)))

however when there is a blank in row B it returns a 0, how can I change
it to enter a blank instead?

many thanks

andrewm
 
Hi Andrewm,

Try,

=if(isblank(index(B1:B10,(match(C1,A1:A10,0))),"",index(B1:B10,(match(C1,A1:A10,0)))

HT
 

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