I'm trying to write an If
or SumIf
to calculate(sum) totals for x , y and z individually.
I could use a simple sum formula but these are thousands of columns and x and y and z are populated randomly. I tried using a range by sorting colA but its a temporary solution and not what I am looking for.
I need something like:
If COL A has 'X' then add values corresponding to X in COL B
example:
COLA COLB ....... colx
x 1
x 2
x 1
y 3
x 3
z 3
x 4
I tried looking up other answers for similar questions but could not find the right one that works for me.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…