Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a row of 24 numbers, A1:X1. I would like Y1 to SUM only those cells
if they have negative numbers in them and Z1 to SUM only those cells that have positive numbers. Thanks! -- Patti |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
In Y1 =SUMPRODUCT((A1:X1)*(A1:X1<0))
In Z1 =SUMPRODUCT((A1:X1)*(A1:X10)) -- HTH... Jim Thomlinson "PattiP" wrote: I have a row of 24 numbers, A1:X1. I would like Y1 to SUM only those cells if they have negative numbers in them and Z1 to SUM only those cells that have positive numbers. Thanks! -- Patti |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
P.S. sorry, I got the "positive/negative" mixed up, but I think you can
figure it out. "PattiP" wrote: I have a row of 24 numbers, A1:X1. I would like Y1 to SUM only those cells if they have negative numbers in them and Z1 to SUM only those cells that have positive numbers. Thanks! -- Patti |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
countif two corresponding cells meet the criteria | Excel Worksheet Functions | |||
Count Cells that meet Criteria | Excel Worksheet Functions | |||
Sum Total # Of Cells That Meet Several Criteria | Excel Worksheet Functions | |||
Adding cells that meet certain criteria | Excel Programming | |||
Adding the sum of figures in one column if they meet 2 criteria | Excel Worksheet Functions |