excel - How to sum column-b values while column-a values are the same? -
i've simulated problem.. because original plan complex describe:
i need c4
8
because a2 = a3 = a4
, , 5 + 2 + 1
results in 8
.
using logic, expected results should be:
c4:8 c6:10 c10:23 c12:23
well, problem:
i can't use sumif due after last day of month (28, 29, 30 or 31) next day 1 again.
i'm stucked on that. appreciated.
thank time.
in c2 enter:
=if(a2=a3,"",sum($b$2:b2)-sum($c$1:c1))
and copy down
edit#1:
the first part of if insures blanks needed. second part of if adds of column b, removes parts of b appear in column c
Comments
Post a Comment