Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
If Formula
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 |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
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 |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
If Formula
Try =IF(ISERROR(FIND("Satellite",A1)),2,1)
Dave -- Brevity is the soul of wit. "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 |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
If Formula
Probably best to use RIGHT to extract the data, testing if there is a bracket
at the end i.e. =IF(RIGHT(B2,1)=")",1,2) "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 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Reusing formula | Excel Discussion (Misc queries) | |||
Dynamic Range with unused formula messing up x axis on dynamic graph | Charts and Charting in Excel | |||
Match then lookup | Excel Worksheet Functions | |||
Formula Problem - interrupted by #VALUE! in other cells!? | Excel Worksheet Functions | |||
Formula checking multiple worksheets | Excel Worksheet Functions |