Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 2
Default IF calculations

number in "A1", number in"A2". I want to calculate difference and put the
difference in "A3" except if "A2" is input as "0", I want to put "0" in "A3".
Thanks
--
jpmiii
  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 22,906
Default IF calculations

=IF(A2=0,0,A2-A1)

Or maybe

=IF(A2=0,0,A1-A2)


Gord Dibben MS Excel MVP


On Fri, 11 Jul 2008 16:46:06 -0700, jpmiii
wrote:

number in "A1", number in"A2". I want to calculate difference and put the
difference in "A3" except if "A2" is input as "0", I want to put "0" in "A3".
Thanks


  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 2
Default IF calculations

Thanks for the assistance.
--
jpmiii


"Gord Dibben" wrote:

=IF(A2=0,0,A2-A1)

Or maybe

=IF(A2=0,0,A1-A2)


Gord Dibben MS Excel MVP


On Fri, 11 Jul 2008 16:46:06 -0700, jpmiii
wrote:

number in "A1", number in"A2". I want to calculate difference and put the
difference in "A3" except if "A2" is input as "0", I want to put "0" in "A3".
Thanks



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
If Then Calculations Marti Excel Worksheet Functions 3 August 18th 07 05:35 AM
age calculations Tulip Excel Discussion (Misc queries) 2 July 8th 07 07:29 PM
IRR calculations MJW[_2_] Excel Discussion (Misc queries) 5 May 9th 07 02:08 PM
Calculations Randy Setting up and Configuration of Excel 14 February 15th 07 04:20 AM
#N/A in calculations JonR Excel Worksheet Functions 6 September 10th 06 07:33 PM


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