#1   Report Post  
DanBal
 
Posts: n/a
Default spread sheet search


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,F ALSE)=ERROR.TYPE(#N/A),"No
Time",(HLOOKUP(D2,ShopHours!$B2:ShopHours!$HF200,4 4,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


--
DanBal
------------------------------------------------------------------------
DanBal's Profile: http://www.excelforum.com/member.php...o&userid=24079
View this thread: http://www.excelforum.com/showthread...hreadid=379097

  #2   Report Post  
JasperBlaas
 
Posts: n/a
Default


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.


--
JasperBlaas
------------------------------------------------------------------------
JasperBlaas's Profile: http://www.excelforum.com/member.php...o&userid=12615
View this thread: http://www.excelforum.com/showthread...hreadid=379097

  #3   Report Post  
DanBal
 
Posts: n/a
Default


ill give that a try


--
DanBal
------------------------------------------------------------------------
DanBal's Profile: http://www.excelforum.com/member.php...o&userid=24079
View this thread: http://www.excelforum.com/showthread...hreadid=379097

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how do I make a new spread sheet pop up, based on an entry in a c. jpryce Excel Discussion (Misc queries) 1 April 15th 05 07:57 PM
Excel window in spread sheet? WTG Excel Discussion (Misc queries) 3 April 14th 05 07:03 PM
Search for a Sheet Chance224 Excel Discussion (Misc queries) 3 December 14th 04 12:29 AM
How do I get rid of spare lines in an excel spread sheet? Catherine@rhpc Excel Worksheet Functions 2 December 7th 04 01:37 AM
Naming & renaming a sheet tab Cgbilliar Excel Worksheet Functions 1 November 7th 04 05:57 PM


All times are GMT +1. The time now is 12:58 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"