dynamic 3d sum

A

Avner

Hi,

I have a book with 13 sheets named 1 to 12 and Total
on the 13th (Total) there are formulas like:
=sum('1:12'!A1)
Can i sum sheets 1 to X depending on another cell or name ?

avne
 
D

Domenic

Try the following...

=SUMPRODUCT(SUMIF(INDIRECT("'"&ROW(INDIRECT("1:"&C1))&"'!A1"),"<>"))

...where C1 contains "x".

Hope this helps
 

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