fbacchus,
Try:
Copy column to blank area, perhaps new sheet
Select Column
Use Data/Text to Columns, follow clues there
HTH
Beege
> Hi:
>
[quoted text clipped - 15 lines]
>
> frank
>Hi:
>
[quoted text clipped - 15 lines]
>
>frank
Do you want the results to be in the same cells as the entries? Or can they be
in adjacent columns.
If the latter, then, with your Name String in A1 and possible phone number in
B1, do the following:
1. Download and install Longre's free morefunc.xll add in from:
C1: Remove the phone number from the string
=REGEX.SUBSTITUTE(A1,"\d{3}-\d{3}-\d{4}")
D1: Extract phone number from string unless there is something in B1
=IF(B1="",REGEX.MID(A1,"\d{3}-\d{3}-\d{4}"),B1)
If the former, then you can either copy/paste values the results of the above
formulas over columns A&B, or use a VBA macro.
--ron
Ron Rosenfeld - 28 Jan 2006 18:32 GMT
>>Hi:
>>
[quoted text clipped - 32 lines]
>If the former, then you can either copy/paste values the results of the above
>formulas over columns A&B, or use a VBA macro.
Actually, if you need the results in the same cells, you cannot copy/paste
because that would destroy anything in B1. You will need a VBA macro is that
is a requirement.
If that is what you need, it will be simple to design one.
--ron