#### Need formula to Identify Cells that contain both Numbers and Text

```Hi,

I have a spreadsheet that has some cells in a column containing both
text and numbers, i.e. a phone number, city and state. In that same
column I have cells that only contain a city and state. I need to come
up with a formula that will identify which cells do not contain
numbers in them.

Steve

```
 0
sspatriots (78)
3/22/2007 8:58:22 PM
excel 39879 articles. 2 followers.

4 Replies
427 Views

Similar Articles

[PageSpeed] 34

```Steve

If the number is always first then in a column near it (We'll say the
number/text is in column A enter)

=IF(ISNUMBER(VALUE(LEFT(A1,1))),"Number","Text")

Some may be overkill but I add VALUE to make sure it tries to parse the
first character to a number

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
nick_hodgeTAKETHISOUT@zen.co.ukANDTHIS
www.nickhodge.co.uk

"Steve" <sspatriots@yahoo.com> wrote in message
> Hi,
>
> I have a spreadsheet that has some cells in a column containing both
> text and numbers, i.e. a phone number, city and state. In that same
> column I have cells that only contain a city and state. I need to come
> up with a formula that will identify which cells do not contain
> numbers in them.
>
>
>
> Steve
>

```
 0
3/22/2007 11:05:59 PM
```And if the number is *not* the first character in the cell, you might try
this:

=IF(ISERROR(LOOKUP(99^99,--MID(A1,MIN(SEARCH({0,1,2,3,4,5,6,7,8,9},A1&"0123456789")),ROW(INDIRECT("1:"&LEN(A1)))))),"NO
Num","Number")
--

HTH,

RD
=====================================================
Please keep all correspondence within the Group, so all may benefit!
=====================================================

"Nick Hodge" <nick_hodgeTAKETHISOUT@zen.co.uk.ANDTHIS> wrote in message
news:OyHivaNbHHA.4808@TK2MSFTNGP04.phx.gbl...
Steve

If the number is always first then in a column near it (We'll say the
number/text is in column A enter)

=IF(ISNUMBER(VALUE(LEFT(A1,1))),"Number","Text")

Some may be overkill but I add VALUE to make sure it tries to parse the
first character to a number

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
nick_hodgeTAKETHISOUT@zen.co.ukANDTHIS
www.nickhodge.co.uk

"Steve" <sspatriots@yahoo.com> wrote in message
> Hi,
>
> I have a spreadsheet that has some cells in a column containing both
> text and numbers, i.e. a phone number, city and state. In that same
> column I have cells that only contain a city and state. I need to come
> up with a formula that will identify which cells do not contain
> numbers in them.
>
>
>
> Steve
>

```
 0
ragdyer1 (4060)
3/23/2007 1:02:53 AM
```Nick - This last formula took care of things perfectly....Thanks,
Steve

On Mar 22, 9:02 pm, "RagDyeR" <ragd...@cutoutmsn.com> wrote:
> And if the number is *not* the first character in the cell, you might try
> this:
>
> =3DIF(ISERROR(LOOKUP(99^99,--MID(A1,MIN(SEARCH({0,1,2,3,4,5,6,7,8,9},A1&"=
> Num","Number")
> --
>
> HTH,
>
> RD
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D
> Please keep all correspondence within the Group, so all may benefit!
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D
>
> "Nick Hodge" <nick_hodgeTAKETHIS...@zen.co.uk.ANDTHIS> wrote in message
>
> news:OyHivaNbHHA.4808@TK2MSFTNGP04.phx.gbl...
> Steve
>
> If the number is always first then in a column near it (We'll say the
> number/text is in column A enter)
>
> =3DIF(ISNUMBER(VALUE(LEFT(A1,1))),"Number","Text")
>
> Some may be overkill but I add VALUE to make sure it tries to parse the
> first character to a number
>
> --
> HTH
> Nick Hodge
> Microsoft MVP - Excel
> Southampton, England
> nick_hodgeTAKETHIS...@zen.co.ukANDTHISwww.nickhodge.co.uk
>
> "Steve" <sspatri...@yahoo.com> wrote in message
>
>
>
>
> > Hi,
>
> > I have a spreadsheet that has some cells in a column containing both
> > text and numbers, i.e. a phone number, city and state. In that same
> > column I have cells that only contain a city and state. I need to come
> > up with a formula that will identify which cells do not contain
> > numbers in them.
>
>
> > Steve- Hide quoted text -
>
> - Show quoted text -

```
 0
sspatriots (78)
3/23/2007 10:52:04 AM
```Well ... you almost got it right ... the name is Rick.

But ... how would you know that?<bg>

Anyway, appreciate the feed-back.
--

Regards,

RD
-----------------------------------------------------------------------------------------------
Please keep all correspondence within the Group, so all may benefit !
-----------------------------------------------------------------------------------------------

"Steve" <sspatriots@yahoo.com> wrote in message
Nick - This last formula took care of things perfectly....Thanks,
Steve

On Mar 22, 9:02 pm, "RagDyeR" <ragd...@cutoutmsn.com> wrote:
> And if the number is *not* the first character in the cell, you might try
> this:
>
> =IF(ISERROR(LOOKUP(99^99,--MID(A1,MIN(SEARCH({0,1,2,3,4,5,6,7,8,9},A1&"0123�456789")),ROW(INDIRECT("1:"&LEN(A1)))))),"NO
> Num","Number")
> --
>
> HTH,
>
> RD
> =====================================================
> Please keep all correspondence within the Group, so all may benefit!
> =====================================================
>
> "Nick Hodge" <nick_hodgeTAKETHIS...@zen.co.uk.ANDTHIS> wrote in message
>
> news:OyHivaNbHHA.4808@TK2MSFTNGP04.phx.gbl...
> Steve
>
> If the number is always first then in a column near it (We'll say the
> number/text is in column A enter)
>
> =IF(ISNUMBER(VALUE(LEFT(A1,1))),"Number","Text")
>
> Some may be overkill but I add VALUE to make sure it tries to parse the
> first character to a number
>
> --
> HTH
> Nick Hodge
> Microsoft MVP - Excel
> Southampton, England
> nick_hodgeTAKETHIS...@zen.co.ukANDTHISwww.nickhodge.co.uk
>
> "Steve" <sspatri...@yahoo.com> wrote in message
>
>
>
>
> > Hi,
>
> > I have a spreadsheet that has some cells in a column containing both
> > text and numbers, i.e. a phone number, city and state. In that same
> > column I have cells that only contain a city and state. I need to come
> > up with a formula that will identify which cells do not contain
> > numbers in them.
>
>
> > Steve- Hide quoted text -
>
> - Show quoted text -

```
 0
ragdyer1 (4060)
3/23/2007 3:47:45 PM

Similar Artilces:

how do i add my phone number to outlook address book ?
how do i add my phone number to outlook address book ? You can't. Why would you? The Outlook Address Book is only a list of electronic addresses to which you can address messages. Why would you need a phone number there? Phone numbers, like all Contact data, are stored in your Contacts Folder. -- Russ Valentine [MVP-Outlook] "Ingaga" <Ingaga @discussions.microsoft.com> wrote in message news:2C2224F0-0E8B-4E20-A2AC-200B044053FD@microsoft.com... > how do i add my phone number to outlook address book ? What in the world is the purpse of the Outlook address book whe...

Not sure if Excel can do what i need
Hello all, I am obviously a new user to excel. I have a psychological assessmen that needs to be computerised for ease of use in obtaining results. Here is what i would like to happen. I have 28 questions with fiv Likert scale options(0-4) for answers. Each question addresses 1 of different personality traits. So questions 1, 6, 8, 22 look at anger. Where as questions 2, 9, 28 look at happiness. What i would like is fo excel to group the answers and give me the total number for each trait. Then based on that number, give out a prewritten (which i would provide result of the assessment. ...

Need Min Value from Row and Heading Value that Corresponds to it.
I have a table that looks somewhat like this w/o the *'d headings: h1 h2 h3 h4 h5 h6 h7 *Min Price *Heading \$5.00 \$6.00 \$3.00 \$4.00 \$9.00 \$1.00 \$9.00 \$1.00 h6 \$3.00 \$6.00 \$8.00 \$65.00 \$9.00 \$2.00 \$4.00 \$2.00 h6 \$4.00 \$9.00 \$5.00 \$7.00 \$1.00 \$2.00 \$8.00 \$1.00 h5 \$9.00 \$7.00 \$6.00 \$3.00 \$9.00 \$8.00 \$2.00 \$2.00 h7 \$7.00 \$8.00 \$9.00 \$7.00 \$9.00 \$8.00 \$8.00 \$7.00 h1 I have several SKU's with various price contract/programs. I want to find the best price in one cell and the heading that would correspond to that cell in another. I was trying to do this with an expression ...

Excel need help
I have 2 columns a and b . a contains payment b contains balance. I have the entire col b with the formula. my ? is when the balance appearsin b it is in all the cells in that column.I only want it in the used ones, not the unused ones:( example \$270.00 16,730.00 \$270.00 16,460.00 \$100.00 16,360.00 \$300.00 16,060.00 \$270.00 15,790.00 15,790.00 15,790.00 15,790.00 15,790.00 15,790.00 this 15790.00 is in col b...not a...I want no bal in unused cells -- fiftieslady ------------------------------------------------------------------------ fiftieslady's Profile: http://www.excelforum.co...

How can I link 2 pages without using the actual sheet as a reference? In other words, can I have two sheets linked by Identifying the same exact names one on each sheet? ...

Excel newbie needs help from math wiz (poker related)
I want to create a Excel workbook that will help in specific poker situations. Short version: I want to be able to calculate how often my opponent will need to fold for an all-in raise to show a positive expectation. Explanation: In poker you can win a hand by having the best hand at the end OR getting your opponent to fold. A common situation comes up where you have a "drawing hand" and face a bet by your opponent. In this situation you know you are currently behind in the hand, but have a chance to win if you catch some of your "outs" (cards that will give you th...

Macro help needed........
How do I sort a particular column in ascending order and change the pag setup to landscape and margins to 0.25 using a macro code ? does anyone have a macro code for this ????? -- Message posted from http://www.ExcelForum.com Hi you have already received some answers in your previous threads please don't multipost! -- Regards Frank Kabel Frankfurt, Germany > How do I sort a particular column in ascending order and change the > page setup to landscape and margins to 0.25 using a macro code ? > > does anyone have a macro code for this ?????? > > > --- > Me...

text boxes filled with color
When I fill any text bos with color while creating anm e-mail publication, the text boxes are converted into images instead of text, thus making my file size bigger. How to change this? Lavanya <Lavanya@discussions.microsoft.com> was very recently heard to utter: > When I fill any text bos with color while creating anm e-mail > publication, the text boxes are converted into images instead of > text, thus making my file size bigger. How to change this? There is no way to change it. This is the way Publisher works. Publisher is not designed for outputting small HTML code. --...

Need to test a mobo
I had a power surge about 3 weeks ago - lost a drive, now making ticking noises. I had another two drive that seem to work sporadically now. So, I thought it might have been my power supply. Bought a tester and found out that all seems well. Next, I bought a new hard drive and found that it was also acting up - making noises like whirring up and down (like the other drives I thought were dead). So I am starting to wonder if it is my mobo - but how can I test this out? I am using a dual boot - Win XP and Win 7 - both drives work and don't work. Up and down. Right now my Win7 ...

Link to a cell in another workbook by name rather than absolute c.
I need to get data from a total cell in one worksheet into a cell in another worksheet. Because the source worksheet will have lines added to it, I wanted to reference the cell by its row and column label (e.g. "Jan Sales"), rather than by an absolute cell reference. I tried several variations and keep getting the #REF and #NAME errors. Does anyone know how to do this? Thanks. Name the actual cell and then reference the cell's name. -- Cutter ------------------------------------------------------------------------ Cutter's Profile: http://www.excelforum.com/membe...

A full page of email text shrinks to one inch or less w/ new batte
I was answering emails and everyhting was fine. The batteries in my wireless mouse died. I replaced them and went back to answering emails. When I clicked the "forward" or "reply" button , a full page text in an email shrank to about one inch. Changing the font size did not correct the problem. HELP it's your zoom setting. Hold ctrl and roll the mouse wheel to increase. Depending on the mouse, you could have accidently pressed a mouse button and changed it when you changed the batteries. -- Diane Poremsky [MVP - Outlook] Outlook Tips: http://www.o...

Combo Box Text Alignment
Is it possible to tweek the text alignment in a combo box other then the standard "Left-Right-Center" preset options ? Thanks - George What specifically are you looking for? Assuming you use a query as the RowSource, you've always got the option of concatenating spaces in front (or after) a field. -- Doug Steele, Microsoft Access MVP http://I.Am/DougSteele (no private e-mails, please) "George" <George@discussions.microsoft.com> wrote in message news:E1366215-05A0-45BB-A27B-272A47458FC8@microsoft.com... > Is it possible to tweek the text alignment in a ...

Help needed
is there anyway you can see what links to other workbooks are associated with the workbook you have open. The problem i am having is when i open the workbook in question a message appears and states "The workbook you opened contains automatic links to information in another workbook. do you want to update this workbook with changes made to the other workbook" Yes....... No. if i click No the workbook opens, however if i click Yes the workbook just hangs and i have to go into task manager to shut down the system. I can only assume that there is a problem with one of the links....

2 sumif functions in one formula
Is it possible to have 2 sumif functions in one formula and return the same results. If so, how would the formula be written? Thanks. Todd If you are to return the same results why do you need 2 formulas? It would be good to give specifics with examples. -- Don Guillett SalesAid Software donaldb@281.com "Todd" <anonymous@discussions.microsoft.com> wrote in message news:04d201c3b391\$f9f5ef20\$a301280a@phx.gbl... > Is it possible to have 2 sumif functions in one formula > and return the same results. If so, how would the formula > be written? Thanks. > > T...

Need help on this....thanks
I have an Excel worksheet which stored a survey outcome of over 1200 members. There are over 30 questions in the survey and the first column captured the member ID. The problem is 3 of the survey questions that allow multiple answers, instead the answer for those three questions are captured in seperate column, the answers are stored in a single column and it makes it very difficult to analysis those result. As a result I created addittional columns depending on the total number of the answers available for that question and assign the result manually to that column. It is very time consuming ...

Help with formula 12-17-09
Let's say I have in cell A1 a combo box with options: 1. Expense 2. Refund 3. Tax In cell B1 I will type a number In cell C3 I want a formula like this: If in cell A1 I have selected 1. Expense than calculate B1*25 If in cell A1 I have selected 2. Refund than calculate B1*50 If in cell A1 I have selected 3. Tax than calculate B1*150 How can I apply the combo box to entire column, like if I go to row 2 to find in B1 the combo box from A1 and in C2 the formula from C1 Thanks for the help In c1: =IF(A1="Expense",B1*25,IF(A1="Refund",B1*50,B1*150)) Micky ...

I need Help
I have a random popup that i cant stop,when it does come up it seems to know what i was looking at,like when i was looking for registry cleaner it popped up and showed me one,any help would be great. On Jan 22, 6:57=A0am, Larry <La...@discussions.microsoft.com> wrote: > I have a random popup that i cant stop,when it does come up it seems to k= now > what i was looking at,like when i was looking for registry cleaner it pop= ped > up and showed me one,any help would be great. To eliminate questions and guessing, please provide additional information about your sys...

How do you print ole objects.. Thanks lachanda -- Message posted via AccessMonster.com http://www.accessmonster.com/Uwe/Forums.aspx/access-forms/200710/1 On Wed, 03 Oct 2007 18:13:40 GMT, "misschanda via AccessMonster.com" <u36612@uwe> wrote: >How do you print ole objects.. >Thanks >lachanda What *kind* of OLE objects? Many of them are binary blobs (such as programs) which are inherently not printable. More details please! John W. Vinson [MVP] ...

In Cell Editing
Hi there: Been using Excel for years but haven't asked this question until now... Could have saved myself a few days likely! Anyway, say I type BACON in a cell and press enter or tab - the focus moves to the cell below. If I arrow back up to the cell that has BACON in it, how do I start editing it without double clicking on it with the mouse? I don't want to delete BACON and start again, I want to edit BACON. After I'm done, I want to eat bacon. haha Thanks Press F2 -- Regards, Peo Sjoblom (No private emails please, for everyone's benefit keep the discussion in ...

Missing Text #5
Hello, I have a problem with Outlook XP (2002) that I can't find a solution for. When this particular user receives a reply to an email she sent, the frist couple of lines of the reply text will appear in the auto preview (the preview in the message listing in the inbox) but when she opens the message itself by double clicking it, that reply text is missing. I've updated Outlook to SP3 and even tried reinstalling it once. Does anyone know of a fix for this? Thanks, Rod ...

Stuck in review and need to be in design.
I am using Visio 2007. I need to complete the diagram that I have been working on and I hit the review key by mistake. How do I get back to the design screen? On Wed, 4 Nov 2009 16:14:01 -0800, cameron <cameron@discussions.microsoft.com> wrote: >I am using Visio 2007. I need to complete the diagram that I have been >working on and I hit the review key by mistake. How do I get back to the >design screen? menu Tools -> Track Markup and then close the Review window. -- Regards, Paul Herber, Sandrila Ltd. DFD/SSADM for Visio http://www.visio-dfd.sa...

sumif formula required
Hello I have only basic knowledge of excel and need a formula to extrac information. A B C Client Process Sqm CEK Fibre 100 RDF Gloss 200 ERF Emul 150 CEK Fibre 100 What formula should I use to extract all CEK clients who purchase th fibre process giving total sqm. I would be extremely grateful to anyone who...

Need Help Despertly!
I am in a desperate situation. I had to reformat my hard drive. Prior to do this, I copied my entire User Profile to another drive. I can now access my User Profile information from Windows Explorer. Now that I installed Microsoft Outlook, I do not see any of my Contacts. I need to restore my Contacts to the new Outlook installation. Again, I did save my entire "User Profile" from my previous installation of Windows 2000 Professional. I just do not know how to access my Contact information from Outlook that included addresses and phone numbers and such. Any help would be greatly appr...

Plug in needed
Looking for an Outlook plug in which, on reply to a e-mail, will:- a) allow selective quoting only, and b) not top quote. Anything around at all? Much to my horror (sorry guys) the Boss wants us to use Outofluck at work! -- On the carpool lane lane to Nirvana. John Phillips <flatulentdingo@deadspam.com> wrote: > Looking for an Outlook plug in which, on reply to a e-mail, will:- > > a) allow selective quoting only, and > > b) not top quote. > > Anything around at all? The best Outlook adjunct I've found for quote handling on replies is Outlook-Quotef...

Find & replace a value in an unknown cell location
Is there a function I can use to find a text string in a particular column - say in column (H) for string 'Mytotal' to be replaced by 'Subtotal' when the cell location of 'Mytotal' is unknown only the column is known? And also is there a function that can find a certain value in a column then delete the row below the found value? e.g in column (H) find 'Subtotal' then delete the row below the occurance of 'Subtotal'. Help is much appreciated with this one? You can use MATCH to find where "Mytotal" is located, assuming you know either th...