Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default can I get a sum to go to one or the other cell

Is there a way to add 3 columns and have the sum automatically go into one
column if it is negative and another if it is positive?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default can I get a sum to go to one or the other cell

lets say you are summing columns A, B & C put this in D1
=IF(SUM(A1:C1)0,SUM(A1:C1),"")
Only positive values will display
Put this in e1
=IF(SUM(A1:C1)<0,SUM(A1:C1),"")
and it will only display negative values
Drag down as required

Mike

"woodac" wrote:

Is there a way to add 3 columns and have the sum automatically go into one
column if it is negative and another if it is positive?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default can I get a sum to go to one or the other cell

=IF(SUM(A:C)0,"",SUM(A:C)) in D1

=IF(SUM(A:C)<0,"",SUM(A:C)) in E1


Gord Dibben MS Excel MVP


On Wed, 9 Apr 2008 14:16:01 -0700, woodac
wrote:

Is there a way to add 3 columns and have the sum automatically go into one
column if it is negative and another if it is positive?


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
How can I copy a value from a cell and paste it into another cell while adding it to the previous value in that cell [email protected] Excel Worksheet Functions 2 November 7th 07 09:39 AM
How can I make a blank cell in a formula cell with a range of cell Vi Excel Discussion (Misc queries) 5 June 21st 07 02:46 PM
cell data not validated if navigating cell to cell with mouse LoveThatMouse Excel Worksheet Functions 6 May 21st 06 09:03 PM
How to create/run "cell A equals Cell B put Cell C info in Cell D abmb161 Excel Discussion (Misc queries) 5 January 26th 06 06:36 PM
Cell Formula reference to cell Based On third Cell Content Gabriel Excel Discussion (Misc queries) 1 February 11th 05 06:36 AM


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