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

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"

Forum statistics

Threads
1,213,487
Messages
6,113,941
Members
448,534
Latest member
benefuexx

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