View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
Stephanie
 
Posts: n/a
Default extract numbers from text or a constant

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