=sum

  • Thread starter Thread starter gma
  • Start date Start date
G

gma

how do you "=sum(A1:A5+A10:A20)" of serveral rows or columns, skip serveral
rows or columns and contuine with the formula
 
Some other variations...

=sum(a1:a5)+sum(a10:a20)
or
=sum(a1:a20)-sum(a6:a9)

You may find it easier to add an indicator column:

I used column B with an X in it if it should be summed:
=sumif(b1:b20,"X",a1:a20)

If you used X to indicate that the cell should be skipped:
=SUMIF(B1:B20,"<>"&"X",A1:A20)
 
Back
Top