dynamic summation

  • Thread starter Thread starter Jase
  • Start date Start date
J

Jase

I have a range of cells that I am summing but that range sometimes change to
either "#value" which throws off my summation or i dont want to summ
duplicates. Basically I want to be able to control my range source as i could
with a graph range. Any ideas?

thanks,

Jase
 
Assuming your summing a column, could do something like
=SUM(INDIRECT("A"&B2&":A"&B3))

Where B2 and B3 are your control numbers determining the boundaries of your
range. You could have these cells linked to by a control form such as a
slider bar for even more dynamic capability.
 
This formula (its an array formula, so enter it with SHIFT+CTRL+ENTER) will
ignore all the errors like #VALUE!
=SUM(IF(ISNUMBER(A1:A6),A1:A6))
 
Back
Top