#1   Report Post  
Posted to microsoft.public.excel.misc
starguy
 
Posts: n/a
Default IF & Vlookup


i want to find a cell value in range of value i-e:
formula in cell Sheet1!H4 is, if value in Sheet1!B4 is in a range
Sheet2!B5:B700 then return "Present" otherwise return "Not"
=IF(*B4*=(VLOOKUP(*B4*,June06,1,0), "Present","No")
but this returns N/A. i can understand that this is wrong function
because of repitition of bolded reference.
how can i acheive my purpose.
thanks in anticipation of quick response.


--
starguy
------------------------------------------------------------------------
starguy's Profile: http://www.excelforum.com/member.php...o&userid=32434
View this thread: http://www.excelforum.com/showthread...hreadid=525121

  #2   Report Post  
Posted to microsoft.public.excel.misc
Trevor Shuttleworth
 
Posts: n/a
Default IF & Vlookup

=IF(ISNA(VLOOKUP(B4,June06,1,0)), "Not Present","Present")

Regards

Trevor


"starguy" wrote in
message ...

i want to find a cell value in range of value i-e:
formula in cell Sheet1!H4 is, if value in Sheet1!B4 is in a range
Sheet2!B5:B700 then return "Present" otherwise return "Not"
=IF(*B4*=(VLOOKUP(*B4*,June06,1,0), "Present","No")
but this returns N/A. i can understand that this is wrong function
because of repitition of bolded reference.
how can i acheive my purpose.
thanks in anticipation of quick response.


--
starguy
------------------------------------------------------------------------
starguy's Profile:
http://www.excelforum.com/member.php...o&userid=32434
View this thread: http://www.excelforum.com/showthread...hreadid=525121



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
Using single cell reference as table array argument in Vlookup CornNiblet Excel Worksheet Functions 3 September 22nd 05 09:15 AM
VLOOKUP Limitations chris_manning Excel Worksheet Functions 2 August 9th 05 06:23 PM
Have Vlookup return a Value of 0 instead of #N/A Mr Mike Excel Worksheet Functions 4 May 25th 05 04:51 PM
vlookup data hidden within worksheet Excel Worksheet Functions 0 January 26th 05 12:09 PM
Vlookup info being used without vlookup table attached? Excel Worksheet Functions 0 January 25th 05 10:43 AM


All times are GMT +1. The time now is 01:07 AM.

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

About Us

"It's about Microsoft Excel"