On Wed, 9 Aug 2006 15:07:27 -0400, simonsmith
<simonsmith.2caeai_1155150596.7508@excelforum-nospam.com> wrote:

>
>Hi,
>I have a long column of data, some cells have numbers in the cells some
>with text.
>I want to get the numbers out. Any ideas on a formula for this?
>
>Thanks
>
>Simon


Do you need to retain the leading zero's?

Do you want the string returned as a text string (containing only numbers) or
as a number (would have no leading zero's)?

If you want to return a numeric value, then:

=IF(ISERR(1*A1),"",1*A1)

If you want to return a text string that contains only numbers (would include
leading zero's), then:

=IF(ISERR(1*A1),"",A1)


--ron