[mso] Re: Word Form IF ?

  • From: "Sandy Crowley" <SCrowley@xxxxxxxxxxxxxxxx>
  • To: <mso@xxxxxxxxxxxxx>
  • Date: Tue, 30 Sep 2003 16:38:43 -0400

Since I'm new at the VB game I don't know if this is what you're looking
for:

by George Simms

This array formula will extract the phone number as text in the form of
123-45678 from examples as shown below.

234-5678PG
Result 234-5678

Array enter the formula and copy it down as far as needed for entries
in column A.

=3DMID(A1,MATCH(FALSE,ISERROR(1*MID(A1,ROW(INDIRECT("1:20")),1)),0),21-
SUM(1*ISERROR(1*MID(A1,ROW(INDIRECT("1:20")),1))))

I got this from http://www.j-walk.com/ss/excel/eee/eee011.txt

(Ray sent it to me on another issue)

sandy

=20



-----Original Message-----
From: Glenda Wells [mailto:gwells@xxxxxxxxxxx]=20
Sent: Tuesday, September 30, 2003 1:54 PM
To: mso@xxxxxxxxxxxxx
Subject: [mso] Word Form IF ?


Hi All.
I have a field in Excel that can contain either a telephone number or an
email address.

I want to pull information only if it is a telephone number.

I thought I might be able to write a little something like if [field]
like "@" then leave null but haven't had much luck.

Any help appreciated. /g

*************************************************************
You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx
or MicrosoftOffice@xxxxxxxxxxxxxxxx

To send mail to the group, simply address it to mso@xxxxxxxxxxxxx

To Unsubscribe from this group, send an email to=20
mso-request@xxxxxxxxxxxxx with the word "unsubscribe" (without the
quotes) in the subject line.

Or, visit the group's homepage and use the dropdown menu.  This will
also allow you to change your email settings to digest or vacation (no
mail). //www.freelists.org/webpage/mso

To be able to use the files section for sharing files with the group,
send a request to mso-moderators@xxxxxxxxxxxxx and you will be sent an
invitation with instructions.  Once you are a member of the files group,
you can go here to upload/download files:
http://www.smartgroups.com/vault/msofiles
*************************************************************
*************************************************************
You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or 
MicrosoftOffice@xxxxxxxxxxxxxxxx

To send mail to the group, simply address it to mso@xxxxxxxxxxxxx

To Unsubscribe from this group, send an email to 
mso-request@xxxxxxxxxxxxx with the word "unsubscribe" (without the quotes) in 
the subject line.

Or, visit the group's homepage and use the dropdown menu.  This will also allow 
you to change your email settings to digest or vacation (no mail).
//www.freelists.org/webpage/mso

To be able to use the files section for sharing files with the group, send a 
request to mso-moderators@xxxxxxxxxxxxx and you will be sent an invitation with 
instructions.  Once you are a member of the files group, you can go here to 
upload/download files:
http://www.smartgroups.com/vault/msofiles
*************************************************************

Other related posts: