Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Greater than less than arguement returning value when text inputte

I have the following formula "=IF(M14$G14,+$G14-$E14,0)".
Yet when I put "actual" or some text in m14, I receive the TRUE arguement
(+$G14-$E14) and gives me a value...I was hoping for #VALUE instead. Any
ideas when the arugement is recognizes the text as a numeric value.

If I insert the word "actual" in for M14 in the formula it will err, ie
"=IF(actual$G14,+$G14-$E14,0) .. any ideas?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,268
Default Greater than less than arguement returning value when text inputte

Text is always greater than numericals according to Excel, you can fix that
by using this instead

=IF(AND(ISNUMBER(M14),M14$G14),$G14-$E14,0)


note that there is no need of the plus sign in front of G14 in your formula


--


Regards,


Peo Sjoblom



"Jbaisinger2000" wrote in message
...
I have the following formula "=IF(M14$G14,+$G14-$E14,0)".
Yet when I put "actual" or some text in m14, I receive the TRUE arguement
(+$G14-$E14) and gives me a value...I was hoping for #VALUE instead. Any
ideas when the arugement is recognizes the text as a numeric value.

If I insert the word "actual" in for M14 in the formula it will err, ie
"=IF(actual$G14,+$G14-$E14,0) .. any ideas?



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,624
Default Greater than less than arguement returning value when text inputte

One way:

=IF(ISNUMBER(M14),IF(M14$G14,$G14-$E14,0),"#VALUE!")

or, if you want an actual #VALUE! error:

=IF(ISNUMBER(M14),IF(M14$G14,$G14-$E14,0),1+"A")



In article ,
Jbaisinger2000 wrote:

I have the following formula "=IF(M14$G14,+$G14-$E14,0)".
Yet when I put "actual" or some text in m14, I receive the TRUE arguement
(+$G14-$E14) and gives me a value...I was hoping for #VALUE instead. Any
ideas when the arugement is recognizes the text as a numeric value.

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
Dynamic arguement? numberoverzero Excel Worksheet Functions 1 April 6th 07 11:40 PM
increasing an arguement paul/bones[_2_] Excel Worksheet Functions 3 March 29th 07 06:17 PM
Two VLookups in one arguement Matt Excel Worksheet Functions 4 February 2nd 07 07:29 PM
RIGHT Arguement? Saxman Excel Discussion (Misc queries) 10 December 20th 06 12:35 PM
More than 7 IF statements in one arguement smithers2002 Excel Worksheet Functions 9 April 21st 05 01:59 PM


All times are GMT +1. The time now is 09:50 PM.

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"