Re: extract numbers from text or a constant

Giganews Newsgroups
Subject: Re: extract numbers from text or a constant
Posted by:  Biff (biffinpi…@comcast.net)
Date: Sun, 14 May 2006

Hi!

Try this:

=IF(LEFT(P4,2)="nw",--MID(P4,3,255),"")

Biff

"Stephanie" <Stephan…@discussions.microsoft.com> wrote in message
news:EE4115E4-EAF0-4FB5-ACB9-435A073464…@microsoft.com...
>I have cell with NW123456 in p4.  I am using the following to remove the
>nw.
>
> =if left(p4,2)="NW" or "nw", Value(left(p4)-2)
>
> But it does not work.  The formula auditor states I am trying to evaluate
> a
> constant.
>
> Thank you for any help.
> --
> Stephanie

Replies

None

In response to

extract numbers from text or a constant posted by Stephanie on Sun, 14 May 2006