Thread: If Formula
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
CLR CLR is offline
external usenet poster
 
Posts: 1,998
Default If Formula

=IF(RIGHT(A1,11)="(Satellite)",1,2)

Vaya con Dios,
Chuck, CABGx3



"Joshua Frazier" wrote:

I have a list of Branches
Example:

Birmingham
Tuscaloosa (Satellite)
Irondale (Satellite)
Pelham (Satellite)
Richmond

I need to seperate all the ones are Satellites to ones that are not.
I tried an IF statement in the colum next to it.
=IF(B2=("*"&"(Satellite)"),1,2) to code them 1 if it is true and 2 if it not.
It needs a wildcard and the * does not work for some reason.
Is this the right formual or is there a different one that I should be using?
I tested and it works only if the cell has exactly what I have in the cell.
Can anyone help me out.
--
Josh Frazier
Communications Manager

Brooke Chase Associates, Inc.
1543 Second Street €¢ Suite 201 €¢ Sarasota, FL 34236
Phone (941) 358-3111 €¢ Fax (941) 358-3311