Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / July 2006

Tip: Looking for answers? Try searching our database.

dynamic range sum

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
BlackIce - 14 Jul 2006 14:43 GMT
I know how to add a dynamic range with a fixed point by doing
=SUM(INDIRECT("E14:E" & ROW()-2)),

my problem is that i need to dynamically add a range without a fixed
point.  Is this possible to do with an excel formula, becuase I cannot
do it with a macro or vba code for design and implementation reasons.

so theoretically if you could do =SUM(INDIRECT(("E" & ROW-4):("E" &
ROW()-2))) (i know this formula does not work but if i could do
something like it)

Thanks
Bob Phillips - 14 Jul 2006 14:51 GMT
=SUM(INDIRECT(("E" & ROW()-4&":E"&ROW()-2)))

Signature

HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

> I know how to add a dynamic range with a fixed point by doing
> =SUM(INDIRECT("E14:E" & ROW()-2)),
[quoted text clipped - 8 lines]
>
> Thanks
BlackIce - 14 Jul 2006 19:12 GMT
Thanks that helped so much, I knew there was a way to do it just didn't
know how.

> =SUM(INDIRECT(("E" & ROW()-4&":E"&ROW()-2)))
>
[quoted text clipped - 17 lines]
> >
> > Thanks
Leo Heuser - 18 Jul 2006 08:04 GMT
> Thanks that helped so much, I knew there was a way to do it just didn't
> know how.
[quoted text clipped - 5 lines]
>>
>> Bob Phillips

Another option:

=SUM(OFFSET(E1,ROW()-ROW(E1)-4,,3))

3 being the number of cells to add.

Signature

Best regards
Leo Heuser

Followup to newsgroup only please.

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.