dynamic summation

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
 
L

Luke M

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.
 
B

Bernard Liengme

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))
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top