LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,824
Default Comparing value to list

There are lots of ways to check to see if a value is in a list. You did right
with the =0 stuff.



Kobayashi wrote:

Dave,

Many thanks. I tried to use the nested For Each statements but although
this works if you are looking to match a value I'm looking to see if
the value is NOT in the list and so I couldn't get this to work for
that?
However, the If function you also kindly supplied works perfectly as I
can, and I hope this is right?, simply change the '1' to '=0' to
search for an item not in the list.
So, many thanks indeed, this has helped solve one big, long
headache!!!

Regards,

Adrian

------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~ View and post usenet messages directly from http://www.ExcelForum.com/


--

Dave Peterson

 
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
Comparing List A to List B and add what's missing from List B Gilbert Excel Discussion (Misc queries) 2 July 20th 09 11:18 PM
Comparing List A to List B and add what's missing from List B Gilbert Excel Discussion (Misc queries) 1 July 20th 09 08:41 PM
comparing names in a list ferde Excel Discussion (Misc queries) 6 March 22nd 06 05:11 AM
Comparing 2 list IFIXPCS Excel Discussion (Misc queries) 4 February 21st 06 10:43 PM
Comparing Entries to a list Davegrier Excel Worksheet Functions 3 February 6th 06 01:49 PM


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