Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
How do I select a range?
I have a function which generates monotonic series. The numbers in column D
start positive and at some point go from positive to negative. I use =MATCH(0,D:D,-1)to find the row number which holds the first negative number. I want to find the sum of all positive numbers. How do I do that? Any help is appreciated. |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
How do I select a range?
=SUMIF(d:d,"0",d:d)
-- Don Guillett Microsoft MVP Excel SalesAid Software "Dan" wrote in message ... I have a function which generates monotonic series. The numbers in column D start positive and at some point go from positive to negative. I use =MATCH(0,D:D,-1)to find the row number which holds the first negative number. I want to find the sum of all positive numbers. How do I do that? Any help is appreciated. |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
How do I select a range?
Hi,
You can use =SUMIF(D:D,"0") And as you can see the sum of all negative numbers would be =SUMIF(D:D,"<0") -- If this helps, please click the Yes button Cheers, Shane Devenshire "Dan" wrote: I have a function which generates monotonic series. The numbers in column D start positive and at some point go from positive to negative. I use =MATCH(0,D:D,-1)to find the row number which holds the first negative number. I want to find the sum of all positive numbers. How do I do that? Any help is appreciated. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How can change range to select active rows instead of :=Range("S10 | Excel Discussion (Misc queries) | |||
When entering data into a range of cells, select the entire range. | Excel Discussion (Misc queries) | |||
Select a range | Excel Discussion (Misc queries) | |||
Select Using Range | Excel Discussion (Misc queries) | |||
Select a range | Excel Discussion (Misc queries) |