Formulla contains an special "text"

hsh982

New Member
Joined
Feb 13, 2010
Messages
20
Hi

I would like to write a formulla which contains an speciall text. for example in bellow formulla:

A2: New 12 =if(A2="New 12",1,0)======>1

Now, I have a lot of name starting with "New" I want to now how I can extend my formulla to give me "1" for all cells starting with "New" or containing "New" in Middle:
<TABLE style="WIDTH: 59pt; BORDER-COLLAPSE: collapse" cellSpacing=0 cellPadding=0 width=79 border=0 x:str><COLGROUP><COL style="WIDTH: 59pt; mso-width-source: userset; mso-width-alt: 2889" width=79><TBODY><TR style="HEIGHT: 14.1pt; mso-height-source: userset" height=18><TD class=xl72 style="BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; WIDTH: 59pt; BORDER-BOTTOM: #ece9d8; HEIGHT: 14.1pt; BACKGROUND-COLOR: transparent" width=79 height=18>New 12</TD></TR><TR style="HEIGHT: 14.1pt; mso-height-source: userset" height=18><TD class=xl72 style="BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; WIDTH: 59pt; BORDER-BOTTOM: #ece9d8; HEIGHT: 14.1pt; BACKGROUND-COLOR: transparent" width=79 height=18>All New 13</TD></TR><TR style="HEIGHT: 14.1pt; mso-height-source: userset" height=18><TD class=xl72 style="BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; WIDTH: 59pt; BORDER-BOTTOM: #ece9d8; HEIGHT: 14.1pt; BACKGROUND-COLOR: transparent" width=79 height=18>Old 11</TD></TR><TR style="HEIGHT: 14.1pt; mso-height-source: userset" height=18><TD class=xl72 style="BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; WIDTH: 59pt; BORDER-BOTTOM: #ece9d8; HEIGHT: 14.1pt; BACKGROUND-COLOR: transparent" width=79 height=18>Old 15</TD></TR><TR style="HEIGHT: 14.1pt; mso-height-source: userset" height=18><TD class=xl72 style="BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; WIDTH: 59pt; BORDER-BOTTOM: #ece9d8; HEIGHT: 14.1pt; BACKGROUND-COLOR: transparent" width=79 height=18>New 14
</TD></TR></TBODY></TABLE>
.
.
I tried: =If(A2="New*",1,0) but didn't work.

I'm looking for a general answer to make me able use this rule for all formullas.

Any help is appreciated.
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.

Forum statistics

Threads
1,224,599
Messages
6,179,831
Members
452,947
Latest member
Gerry_F

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top