Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
neil@snowandjones
 
Posts: n/a
Default create a formula in excel to prevnt negative

here is my formula to show in cell E4 =(A4*0.02)+((C4-A4)*0.03)
However, i do not want to calculation made if the value of C4 is less than
the value of A4.
For the purposes of this result, this will make an invalid result.

  #2   Report Post  
 
Posts: n/a
Default

Hi

Try this:
=MAX((A4*0.02)+((C4-A4)*0.03),0)

Andy.

"neil@snowandjones" wrote in
message ...
here is my formula to show in cell E4 =(A4*0.02)+((C4-A4)*0.03)
However, i do not want to calculation made if the value of C4 is less than
the value of A4.
For the purposes of this result, this will make an invalid result.



  #3   Report Post  
Ian
 
Posts: n/a
Default

=IF(C4<A4,"",(A4*0.02)+((C4-A4)*0.03))

--
Ian
--
"neil@snowandjones" wrote in
message ...
here is my formula to show in cell E4 =(A4*0.02)+((C4-A4)*0.03)
However, i do not want to calculation made if the value of C4 is less than
the value of A4.
For the purposes of this result, this will make an invalid result.



  #4   Report Post  
neil@snowandjones
 
Posts: n/a
Default

Thanx Ian.
Worked a charm
Neil.

"Ian" wrote:

=IF(C4<A4,"",(A4*0.02)+((C4-A4)*0.03))

--
Ian
--
"neil@snowandjones" wrote in
message ...
here is my formula to show in cell E4 =(A4*0.02)+((C4-A4)*0.03)
However, i do not want to calculation made if the value of C4 is less than
the value of A4.
For the purposes of this result, this will make an invalid result.




  #5   Report Post  
Ian
 
Posts: n/a
Default

No problem. Thanks for the feedback.

--
Ian
--
"neil@snowandjones" wrote in
message ...
Thanx Ian.
Worked a charm
Neil.

"Ian" wrote:

=IF(C4<A4,"",(A4*0.02)+((C4-A4)*0.03))

--
Ian
--
"neil@snowandjones" wrote
in
message ...
here is my formula to show in cell E4 =(A4*0.02)+((C4-A4)*0.03)
However, i do not want to calculation made if the value of C4 is less
than
the value of A4.
For the purposes of this result, this will make an invalid result.








  #6   Report Post  
 
Posts: n/a
Default

Sorry! I read your subject and not your post!

Andy.

"neil@snowandjones" wrote in
message ...
here is my formula to show in cell E4 =(A4*0.02)+((C4-A4)*0.03)
However, i do not want to calculation made if the value of C4 is less than
the value of A4.
For the purposes of this result, this will make an invalid result.



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
Excel 2003 FAILS, but Excel 2000 SUCCEEDS ??? Richard Excel Discussion (Misc queries) 2 May 13th 23 11:46 AM
Excel Range Value issue (Excel 97 Vs Excel 2003) Keeno Excel Discussion (Misc queries) 2 June 13th 05 02:01 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 07:48 PM
How to create specific formula STS Excel Worksheet Functions 4 May 2nd 05 01:44 AM
Create an if-then formula in Excel to limit column total? Nancy M Excel Discussion (Misc queries) 2 February 13th 05 10:47 PM


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

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

About Us

"It's about Microsoft Excel"