#1   Report Post  
lmthomas
 
Posts: n/a
Default Positive Results

How can I use a formula to subtract a number in one cell from a number in
another cell then display the result only if it is positive or greater than 0?
  #2   Report Post  
 
Posts: n/a
Default

It would look something like this:

=IF(a1-a2=0,a1-a2,"")

  #3   Report Post  
Duke Carey
 
Posts: n/a
Default

=if(a1=b1,a1-b1,"")

"lmthomas" wrote:

How can I use a formula to subtract a number in one cell from a number in
another cell then display the result only if it is positive or greater than 0?

  #4   Report Post  
lmthomas
 
Posts: n/a
Default

That did it! Thank you for your help.

" wrote:

It would look something like this:

=IF(a1-a2=0,a1-a2,"")


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
calculating results in formulas Linda Excel Discussion (Misc queries) 9 July 6th 05 09:20 AM
SUMIF positive values only from database gmac Excel Worksheet Functions 4 June 29th 05 09:51 AM
add only positive numbers and avg in a column rich Excel Worksheet Functions 6 March 10th 05 09:19 AM
How can I change positive numbers to negative, i.e. change 50 to - godwingi Excel Discussion (Misc queries) 5 February 28th 05 05:41 PM
positive integer? JZip Excel Discussion (Misc queries) 2 January 7th 05 06:37 PM


All times are GMT +1. The time now is 09:55 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"