Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 273
Default How Do You Get ISNUMBER() To Work?

Greetings,

I am trying to change this cell formula to return a "0" with any
value in C4 that is not a number (this works for "Loan", but I have
found other entries in that column that it wont work with):

=IF(C4="Loan",0,IF(G30,((I4*C4)*(1+H4)),((J4*C4)* (1+H4))))

I tried to use ISNUMBER(C4) like this:


=IF(NOT(ISNUMBER(C4)),0,IF(G30,((I4*C4)*(1+H4)),( (J4*C4)*(1+H4))))

It only returns "0" regardless of what is in C4.

Any idea as to what I did wrong? Any suggestions would be most
appreciated.

TIA

-Minitman
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default How Do You Get ISNUMBER() To Work?

Hi
any chance C4 is fomrated as 'Text'?. And also for what entries did you
receive '0' as a result

--
Regards
Frank Kabel
Frankfurt, Germany

"Minitman" schrieb im Newsbeitrag
...
Greetings,

I am trying to change this cell formula to return a "0" with any
value in C4 that is not a number (this works for "Loan", but I have
found other entries in that column that it wont work with):

=IF(C4="Loan",0,IF(G30,((I4*C4)*(1+H4)),((J4*C4)* (1+H4))))

I tried to use ISNUMBER(C4) like this:


=IF(NOT(ISNUMBER(C4)),0,IF(G30,((I4*C4)*(1+H4)),( (J4*C4)*(1+H4))))

It only returns "0" regardless of what is in C4.

Any idea as to what I did wrong? Any suggestions would be most
appreciated.

TIA

-Minitman


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How Do You Get ISNUMBER() To Work?


I would say the same...

Also, why use the NOT(ISNUMBER(D4))

Use the IF(ISNUMBER(), here formula, 0) it is the sam

--
Zur
-----------------------------------------------------------------------
Zurn's Profile: http://www.excelforum.com/member.php...fo&userid=1464
View this thread: http://www.excelforum.com/showthread.php?threadid=26751

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 273
Default How Do You Get ISNUMBER() To Work?

Hey Frank,

Column C is set to "Number".

This is strange! Last night I lost my most recent changes to this
spreadsheet when my OS did a core dump and rebooted. At that point I
called it a night!. This morning when I got this reply, I tried to
recreate the conditions that caused the problem. Now this formula is
working. This is embarrassing!

I would have assumed it was still broken if you hadn't sent your reply
and I tried to duplicate the problem to answer your question. Your
reply was indeed helpful, just not the way either one of us thought it
would be - Thank you.

-Minitman


On Fri, 8 Oct 2004 08:06:53 +0200, "Frank Kabel"
wrote:

Hi
any chance C4 is fomrated as 'Text'?. And also for what entries did you
receive '0' as a result

--
Regards
Frank Kabel
Frankfurt, Germany

"Minitman" schrieb im Newsbeitrag
.. .
Greetings,

I am trying to change this cell formula to return a "0" with any
value in C4 that is not a number (this works for "Loan", but I have
found other entries in that column that it wont work with):

=IF(C4="Loan",0,IF(G30,((I4*C4)*(1+H4)),((J4*C4)* (1+H4))))

I tried to use ISNUMBER(C4) like this:


=IF(NOT(ISNUMBER(C4)),0,IF(G30,((I4*C4)*(1+H4)),( (J4*C4)*(1+H4))))

It only returns "0" regardless of what is in C4.

Any idea as to what I did wrong? Any suggestions would be most
appreciated.

TIA

-Minitman


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
ISNUMBER Arceedee Excel Discussion (Misc queries) 2 January 14th 09 05:09 AM
ISNUMBER Tanya Excel Worksheet Functions 5 December 6th 07 04:45 PM
ISNUMBER Michael Nol Excel Worksheet Functions 1 March 22nd 06 12:29 AM
ISNumber VBA trickdos[_9_] Excel Programming 7 July 23rd 04 10:37 PM
ISNUMBER Brady Snow Excel Programming 5 February 26th 04 05:39 AM


All times are GMT +1. The time now is 11:35 AM.

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

About Us

"It's about Microsoft Excel"