A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

isnumber won't work



 
 
Thread Tools Display Modes
  #1  
Old August 10th, 2004, 07:45 PM
papa
external usenet poster
 
Posts: n/a
Default isnumber won't work

I have a simple function
=isnumber(g53)
The result is consistently "FALSE"
G53 contains "5". I have tried formatting the cell to
text, number, general. None of them seem to matter.

Is there some generic setting for the sheet that would be
causeing this to be returning a result of "False"?

I thought that the method of getting "5" in the cell was
the problem so I have replaced the function that
originated the "5" with a just the value. That did not
affect it.

Any help would be greatly appreciated.
TIA
Papa
  #2  
Old August 10th, 2004, 07:57 PM
Harlan Grove
external usenet poster
 
Posts: n/a
Default isnumber won't work

"papa" wrote...
I have a simple function
=isnumber(g53)
The result is consistently "FALSE"
G53 contains "5". I have tried formatting the cell to
text, number, general. None of them seem to matter.

....

Number formatting doesn't affect the contents of the cell, only how it's
displayed. It's likely this 'number' is actually text. You could convert it
to a number by copying a blank cell, then selecting this cell and using Edit
Paste Special, Values *and* Add. Alternatively, you could use the formula


=ISNUMBER(-G53)

Is there some generic setting for the sheet that would be
causeing this to be returning a result of "False"?


No.

I thought that the method of getting "5" in the cell was
the problem so I have replaced the function that
originated the "5" with a just the value. That did not
affect it.


If all you did was replace a formula returning text with its value, then the
cell would still evaluate as text. There may be a way to fix the formula,
but you'd have to show us what it looks like.


  #3  
Old August 10th, 2004, 08:11 PM
Ron Rosenfeld
external usenet poster
 
Posts: n/a
Default isnumber won't work

On Tue, 10 Aug 2004 11:45:29 -0700, "papa"
wrote:

I have a simple function
=isnumber(g53)
The result is consistently "FALSE"
G53 contains "5". I have tried formatting the cell to
text, number, general. None of them seem to matter.

Is there some generic setting for the sheet that would be
causeing this to be returning a result of "False"?

I thought that the method of getting "5" in the cell was
the problem so I have replaced the function that
originated the "5" with a just the value. That did not
affect it.

Any help would be greatly appreciated.
TIA
Papa


I don't know if this is your problem, but the sequence of changing things is
important. The entry will take on the characteristic of the cell format AT THE
TIME the entry was made. Subsequent changes in cell format will not
necessarily change the type of value.

So if the cell was formatted as TEXT, and then the 5 entered, changing the
format will not change the 5 to a NUMBER.

However, if at the time the entry was made, the cell was formatted as GENERAL,
then changing the format back forth TEXT-GENERAL will change the 5 from
number to text.


--ron
  #4  
Old August 10th, 2004, 11:04 PM
Harlan Grove
external usenet poster
 
Posts: n/a
Default isnumber won't work

"Ron Rosenfeld" wrote...
....
I don't know if this is your problem, but the sequence of changing things
is important. The entry will take on the characteristic of the cell
format AT THE TIME the entry was made. Subsequent changes in cell format
will not necessarily change the type of value.

....

I'd restate this: only if the cell were formatted as TEXT at the time of
entry would typing 5 and pressing [Enter] generate text equal to "5" in the
cell. With any other number format, the entry would be the number 5.

As for the last sentence, strenghten it: no amount of format changing will
alter the contents of a cell or its type.

However, if at the time the entry was made, the cell was formatted as
GENERAL, then changing the format back forth TEXT-GENERAL will change
the 5 from number to text.


Maybe this works differently in more recent versions, but in Excel 97, if
cell A1 is formatted as General, type 5 and press [Enter]. In B1 enter
=ISNUMBER(A1). It returns TRUE. In C1 enter =N(A1). It returns 5. Now format
A1 as TEXT. Press [Ctrl]+[Alt]+[F9] to force recalculation. What do B1 and
C1 show? Now, with A1 still formatted as TEXT, type 5 and press [Enter]. Now
what do B1 and C1 show?


  #5  
Old August 11th, 2004, 03:22 AM
Ron Rosenfeld
external usenet poster
 
Posts: n/a
Default isnumber won't work

On Tue, 10 Aug 2004 15:04:39 -0700, "Harlan Grove" wrote:

"Ron Rosenfeld" wrote...
...
I don't know if this is your problem, but the sequence of changing things
is important. The entry will take on the characteristic of the cell
format AT THE TIME the entry was made. Subsequent changes in cell format
will not necessarily change the type of value.

...

I'd restate this: only if the cell were formatted as TEXT at the time of
entry would typing 5 and pressing [Enter] generate text equal to "5" in the
cell. With any other number format, the entry would be the number 5.

As for the last sentence, strenghten it: no amount of format changing will
alter the contents of a cell or its type.

However, if at the time the entry was made, the cell was formatted as
GENERAL, then changing the format back forth TEXT-GENERAL will change
the 5 from number to text.


Maybe this works differently in more recent versions, but in Excel 97, if
cell A1 is formatted as General, type 5 and press [Enter]. In B1 enter
=ISNUMBER(A1). It returns TRUE. In C1 enter =N(A1). It returns 5. Now format
A1 as TEXT. Press [Ctrl]+[Alt]+[F9] to force recalculation. What do B1 and
C1 show? Now, with A1 still formatted as TEXT, type 5 and press [Enter]. Now
what do B1 and C1 show?


There must have been something not clean about my initial trials as, with a new
instance of Excel and a clean sheet, the 5 ISNUMBER(A1) remains TRUE (although
the 5 does jump back and forth between being left and right justified).


--ron
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
linking pages in two different work books modicum21 New Users 2 May 26th, 2004 05:06 PM
Sorting Work Sheets? How? mrchaos101 Worksheet Functions 2 May 7th, 2004 09:01 PM
formula will not work, has changed or disappeared Ray New Users 0 April 26th, 2004 02:08 AM
rolling 5 day work week calander Dan Knighton Worksheet Functions 1 April 20th, 2004 07:38 PM


All times are GMT +1. The time now is 04:37 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.