Can I use "In" in an "If" statement?

Giganews Newsgroups
Subject: Can I use "In" in an "If" statement?
Posted by:  mbrockhaus
Date: Thu, 29 Jun 2006

I want to determine if a value in column A is in a list of values, using an
if statement.  Do I need to list each condition separately?  For example, is
there a better way to write the following statement?

=IF(OR($A2<>"Benchmark",$A2<>"Benchmark Folder",$A2<>"Physical
Name",$A2="Label Part"), "y", "n")