LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 740
Default Formula to stop adding at a positive number

confused, i may have read it on another way

I need A1 to add only through E1,
but the sum addition needs
to include cells F-G because
THEY may change to a negative number
when I change ANOTHER calculation.


then you may try either of the two..

=sum(A1:E1)+sumif(F1:G1,"<0") if either F or G is a negative to qualify in
summing with A:E

or

=sum(A1:E1)+if(and(F1<0,G1<0),F1+G1,0) if needs both F and G as negative in
order to qualify for summing with A:E...

regards
--
*****
birds of the same feather flock together..



"nkhelp" wrote:

I need help with the formula to stop adding when the cell number becomes a
positive number. I am looking at different senarios for a breakeven point.
I need one cell to add only numbers that are negative.

EXAMPLE
A B C D E F G
SUM -10 -5 -4 -1 2 4

I need A1 to add only through E1, but the sum addition needs to include
cells F-G because they may change to a negative number when I change another
calculation.

Make Sense?

 
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 to convert a month to a quarter ...... Epinn New Users to Excel 26 May 3rd 23 07:45 PM
Find value in array Brook6 Excel Worksheet Functions 26 January 30th 07 09:40 PM
Vlookup to Return a Range of Data Rob Excel Discussion (Misc queries) 13 June 1st 06 04:02 AM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
What is the formula for adding a number of days to an existing dat Ivan Excel Worksheet Functions 1 May 4th 05 03:00 AM


All times are GMT +1. The time now is 05:17 AM.

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"