View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Mike Mike is offline
external usenet poster
 
Posts: 3,101
Default LOGICAL OPERATOR "IF" FOR AN ARRAY

For each of your formula try


=IF(A1:A100="Los Angeles","American","Not American")

=IF(MIN(A1:A20)<40,"Fail","Pass")

"FARAZ QURESHI" wrote:

Can V have a formulas like the following?

if ( any of the cells in array A1:A100 = "LOS ANGELES" , then "AMERICAN",
otherwise "NON-AMERICAN")

OR

if ( any of the cells in array A1:A20 < "40" , then "FAIL", otherwise "PASS")