Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default Subtraction formula

I am trying to create a formula that will either subtract
one cell from another if the number in the first cell is
greater then zero, if the number is less then zero then it
will just display the number of the first cell without
subtracting anything.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 107
Default Subtraction formula

First cell = A1
Second cell = A2
Formula in cell A3

=IF(A10,A1-A2,A1)

--
Regards
Andy Wiggins
www.BygSoftware.com
Home of "Save and BackUp",
"The Excel Auditor" and "Byg Tools for VBA"



"Andrew" wrote in message
...
I am trying to create a formula that will either subtract
one cell from another if the number in the first cell is
greater then zero, if the number is less then zero then it
will just display the number of the first cell without
subtracting anything.



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
Please help with subtraction formula Brenda[_2_] New Users to Excel 7 February 9th 08 11:07 AM
Subtraction formula kevcar40 Excel Discussion (Misc queries) 7 February 1st 08 11:03 AM
subtraction formula kaustubhghag Excel Worksheet Functions 1 March 24th 06 12:14 PM
subtraction formula Mart Excel Worksheet Functions 1 February 23rd 06 11:47 AM
Subtraction formula Al Excel Discussion (Misc queries) 6 December 21st 05 08:46 AM


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