Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
webstju
 
Posts: n/a
Default problem with ISNA and VLOOKUP


accidentally posted this in General

Need help with a formula..

Let's say I have "12/31/2000" in Sheet 1, Cell A1 and I need to see if
this date is in a table in Sheet 2 and if it is it will return a value
of "1" and if not it returns a value of "2"

The formula I have is

=IF(ISNA(VLOOKUP(A1,Sheet2!A1:B4,2)),0,1)


12/31/2000 is NOT located in Sheet 2 yet I still get a return value of
1.. help would be appreciated


--
webstju
------------------------------------------------------------------------
webstju's Profile: http://www.excelforum.com/member.php...o&userid=33703
View this thread: http://www.excelforum.com/showthread...hreadid=536447

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default problem with ISNA and VLOOKUP

It is doing an approximate match. Use

=IF(ISNA(VLOOKUP(A1,Sheet2!A1:B4,2,FALSE)),0,1)

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"webstju" wrote in
message ...

accidentally posted this in General

Need help with a formula..

Let's say I have "12/31/2000" in Sheet 1, Cell A1 and I need to see if
this date is in a table in Sheet 2 and if it is it will return a value
of "1" and if not it returns a value of "2"

The formula I have is

=IF(ISNA(VLOOKUP(A1,Sheet2!A1:B4,2)),0,1)


12/31/2000 is NOT located in Sheet 2 yet I still get a return value of
1.. help would be appreciated


--
webstju
------------------------------------------------------------------------
webstju's Profile:

http://www.excelforum.com/member.php...o&userid=33703
View this thread: http://www.excelforum.com/showthread...hreadid=536447



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
Sort with ISNA and vlookup Tom Excel Worksheet Functions 0 January 26th 06 08:01 PM
VLOOKUP and ISNA functions Steve ([email protected]) Excel Worksheet Functions 2 July 8th 05 11:59 PM
isna vlookup Tim Excel Discussion (Misc queries) 2 April 3rd 05 11:23 AM
ISNA and VLOOKUP Chris Kellock Excel Worksheet Functions 3 March 12th 05 07:05 AM
if isna and vlookup together tina Excel Worksheet Functions 2 January 20th 05 01:06 PM


All times are GMT +1. The time now is 09:34 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"