LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 132
Default Vlookup to Find one value but exclude another

Try this...

Just I am giving you the below formula upto my knowledge...

=IF(VLOOKUP($A410,Lookup!$A:$K,9,FALSE)=7,"YES","N O")

The above formula will give the desired result, but if suppose the value you
are looking in that particular range is not available then the formula will
result N/A. I dont know how to make a comment for that in the if statement.
But it can be done by using ISNA function.

Some experts will see and give solution for this.

--------------------
(MS-Exl-Learner)
--------------------



"Sarah (OGI)" wrote:

I have the following formula:

=IF(COUNT(FIND(7,VLOOKUP($A410,Lookup!$A:$K,9,FALS E))),"Yes","No")

If the result of the vlookup finds a "7", the returned value will show
"Yes", but how can I exclude something like "17". The values that I'm
looking through might show "7", "4,7", "3,17", etc and what I want is, if the
value contains the number 7 (but not 17, 27, 37, or whatever it might be), I
want to see a returned value of "Yes".

I hope that makes sense and that someone can help.

Thanks

 
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
VLookup - find new items Shazaxacpcc Excel Worksheet Functions 0 May 6th 09 09:08 PM
Whether VLOOKUP can find Text vmohan1978 Excel Worksheet Functions 6 January 30th 09 11:17 AM
Can vlookup find the last row without it in the formula? zerOman Excel Discussion (Misc queries) 3 June 6th 06 02:49 AM
Vlookup & Find Caroline Excel Worksheet Functions 2 April 7th 06 03:13 PM
vlookup does not find data jiwolf Excel Worksheet Functions 2 October 9th 05 03:24 PM


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