spread sheet search

  • Thread starter Thread starter DanBal
  • Start date Start date
D

DanBal

i am using the following to search out information and return other info
to a different sheet.

=IF(HLOOKUP(D2,ShopHours!$B2:ShopHours!$HF200,44,FALSE)=ERROR.TYPE(#N/A),"No
Time",(HLOOKUP(D2,ShopHours!$B2:ShopHours!$HF200,44,FALSE)))

my problem is: when no information is found it is still returning and
#n/a.

can anyone help.

I would also like to be able to copy this new sheet into other books
but it keeps on changing the references.

tks
Daniel
 
I usually use:

if(isna(HLOOKUP(D2,ShopHours!$B2:ShopHours!$HF200,44,FALSE),"No
Time",HLOOKUP(D2,ShopHours!$B2:ShopHours!$HF200,44,FALSE)

Maybe that works better for you.
 

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

Similar Threads

Lookup combined with Match formulas??? 3
Excel Monthly Spread sheet. 12
Vlookup and Hlookup with an IF condition 0
VLOOKUP problem 3
Hlookup 1
"LOOKUP" question 5
Sorting in code 4
help on a vlookup please 5

Back
Top