+ Reply to Thread
Results 1 to 6 of 6

Excel 2007 : how to specify "all rows" in Cell formula

  1. #1
    Registered User
    Join Date
    02-12-2009
    Location
    Israel
    MS-Off Ver
    Excel 2003
    Posts
    32

    how to specify "all rows" in Cell formula

    Hi

    How can I specify a range in a cell formula which will :

    SUM all "A" column cells in the sheet - from A3 until the last row ?

    Please note that the number of rows in the sheet is changed all the time (add/delete)



    thanks !!!

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,363

    Re: how to specify "all rows" in Cell formula

    Hi gonen,

    You can use named ranges in formulas and determine the last row using a DYNAMIC Named Range.

    http://www.ozgrid.com/Excel/DynamicRanges.htm
    http://www.beyondtechnology.com/geeks007.shtml
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Registered User
    Join Date
    02-12-2009
    Location
    Israel
    MS-Off Ver
    Excel 2003
    Posts
    32

    Re: how to specify "all rows" in Cell formula

    Thanks for your quick reply...

    I thought it will be much easier.....

    out of all these samples... how do you Sum a col to the last row... ??

  4. #4
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,363

    Re: how to specify "all rows" in Cell formula

    Here is an example.

    You will need to look at Named Ranges and see what I've done. Also look at the sum formula to see how to specify a dynamic named range.

    If you want to sum all values in Col A, you can use "=Sum(A:A)" Is that whay you meant by easier?
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    02-12-2009
    Location
    Israel
    MS-Off Ver
    Excel 2003
    Posts
    32

    Re: how to specify "all rows" in Cell formula

    Thanks for your sample....

    the Sum(A:A) was already sampled somewhere but it does not allow to sum A into the top of col A (recursive issues...)

    why not Sum(A3:A65535) ??

  6. #6
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,363

    Re: how to specify "all rows" in Cell formula

    There are lots of ways to do this problem. I like your answer too, if it works for you.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1