excel - How to sum column-b values while column-a values are the same? -


i've simulated problem.. because original plan complex describe:

enter image description here

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

enter image description here

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

Popular posts from this blog

html - Firefox flex bug applied to buttons? -

html - Missing border-right in select on Firefox -

python - build a suggestions list using fuzzywuzzy -