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 / Worksheet Functions / June 2006

Tip: Looking for answers? Try searching our database.

Dynamic formula

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
sandip.dhamapurkar@gmail.com - 21 Jun 2006 12:55 GMT
Lets say I have some numbers in the range A1:A10 and I have to take a
sum of it in cell B1, I will use the formula =SUM(A1:A10).

My question is, is it possible to detect the last row of the range and
have a dynamic formula?

For instance, the formula should be able to detect A10 (the second
parameter) automatically.

something like =SUM(A1:&count(A:A)) &count(A:A) count will give the
value 10

Sandy
Bob Phillips - 21 Jun 2006 13:08 GMT
Why not just use

=SUM(A:A)

Signature

HTH

Bob Phillips

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

> Lets say I have some numbers in the range A1:A10 and I have to take a
> sum of it in cell B1, I will use the formula =SUM(A1:A10).
[quoted text clipped - 9 lines]
>
> Sandy
aidan.heritage@virgin.net - 21 Jun 2006 13:58 GMT
providing you don't have blanks then

=SUM(a1:OFFSET(a1,COUNTA(a:a)-1,0))

will give you the dynamic you want - but as Bob says, why not just use
the entire column?!

> Why not just use
>
[quoted text clipped - 20 lines]
> >
> > Sandy
sandip.dhamapurkar@gmail.com - 21 Jun 2006 14:03 GMT
Thank you both of you for your answers. I really appreciate
 
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



©2009 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.