View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ashish Mathur[_2_] Ashish Mathur[_2_] is offline
external usenet poster
 
Posts: 1,766
Default If(not(A2="FL","AL".... ),"other",A2) IF(not help

Hi,

In cell B2, enter the following array formula (Ctrl+Shift+Enter)

=IF(NOT(OR(A2=$D$5:$D$11)),"Other",A2). D5:D11 contains the 7 entries.

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"jchick0909" wrote in message
...

Column A is a list of states. If column A is not 7 specific states, then
i
want "other" if it is one of these states, then i want the state (ie A2
etc).
I'm trying to use If(not(.... but there are too many arguements. Any
suggestions would be greatly appreciated!!!

attempt:

If(not(A2="FL","AL".... ),"other",A2)

Then I am then using an Index Match function to find the pay rate for the
"new state" (column B) along with another cell reference to the job
description.