A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Sum of two offset cells



 
 
Thread Tools Display Modes
  #1  
Old February 23rd, 2009, 09:36 PM posted to microsoft.public.excel.worksheet.functions
Craig
external usenet poster
 
Posts: 506
Default Sum of two offset cells

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
  #2  
Old February 23rd, 2009, 09:44 PM posted to microsoft.public.excel.worksheet.functions
T. Valko
external usenet poster
 
Posts: 15,759
Default Sum of two offset cells

Try it like this:

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

--
Biff
Microsoft Excel MVP


"Craig" wrote in message
...
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



  #3  
Old February 23rd, 2009, 10:12 PM posted to microsoft.public.excel.worksheet.functions
Craig
external usenet poster
 
Posts: 506
Default Sum of two offset cells

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

"T. Valko" wrote:

Try it like this:

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

--
Biff
Microsoft Excel MVP


"Craig" wrote in message
...
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




  #4  
Old February 23rd, 2009, 10:34 PM posted to microsoft.public.excel.worksheet.functions
T. Valko
external usenet poster
 
Posts: 15,759
Default Sum of two offset cells

You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


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

"T. Valko" wrote:

Try it like this:

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

--
Biff
Microsoft Excel MVP


"Craig" wrote in message
...
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






  #5  
Old February 23rd, 2009, 11:19 PM posted to microsoft.public.excel.worksheet.functions
Roger Govier[_3_]
external usenet poster
 
Posts: 2,297
Default Sum of two offset cells

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)
--
Regards
Roger Govier

"Craig" wrote in message
...
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


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 05:19 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.