Sum of two offset cells

C

Craig

Hi,

I'm having difficulty with this function.

=sum(offset(Sheet6!$B$47,(rows($1:1)-1)*47,0))+(offset(Sheet3!$B$47,rows($1:1)-1)*47,0)))

Can you tell me what I'm doing wrong?

Thanks
 
T

T. Valko

Try it like this:

=OFFSET(Sheet6!$B$47,(ROWS($1:1)-1)*47,0)+OFFSET(Sheet3!$B$47,(ROWS($1:1)-1)*47,0)
 
C

Craig

I could swear I tried that earlier and it wouldn't work, but it does now.
Thanks so much. Craig
 
R

Roger Govier

Hi Craig

much better to avoid the volatile offset function altogether.
Try
=INDEX(Sheet6!$B:$B,47+ROWS($1:1)-1)*47)+INDEX(Sheet3!$B:$B,47+ROWS($1:1)-1)*47)
 

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