#REF!

S

Steved

Hello from steved

=IF(ISNA(VLOOKUP(A5,ParadoxBusType!
$H$2:$H$25,10,0)),"",VLOOKUP(A5,ParadoxBusType!
$H$2:$H$25,10,0))

I get a #REF! for the above why please

Thankyou.
 
G

Govind

Hi,

Its bcos you have given the range as only H2:H25 which has only one
column H whereas in lookup, you want to get the 10th column position
from column H.

Your formula should be something like

=IF(ISNA(VLOOKUP(A5,ParadoxBusType!
$H$2:$H$25,1,0)),"",VLOOKUP(A5,ParadoxBusType!
$H$2:$H$25,1,0))

or it should be
=IF(ISNA(VLOOKUP(A5,ParadoxBusType!
$H$2:$Q$25,1,0)),"",VLOOKUP(A5,ParadoxBusType!
$H$2:$Q$25,1,0))

Regards

Govind.
 
S

Steved

Thankyou Q was what I was missing

Cheers.

-----Original Message-----
Hi,

Its bcos you have given the range as only H2:H25 which has only one
column H whereas in lookup, you want to get the 10th column position
from column H.

Your formula should be something like

=IF(ISNA(VLOOKUP(A5,ParadoxBusType!
$H$2:$H$25,1,0)),"",VLOOKUP(A5,ParadoxBusType!
$H$2:$H$25,1,0))

or it should be
=IF(ISNA(VLOOKUP(A5,ParadoxBusType!
$H$2:$Q$25,1,0)),"",VLOOKUP(A5,ParadoxBusType!
$H$2:$Q$25,1,0))

Regards

Govind.



.
 

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

Top