+ Reply to Thread
Results 1 to 5 of 5

automatically sum a range of cells in multiple workboks

  1. #1
    Registered User
    Join Date
    12-14-2010
    Location
    norfolk
    MS-Off Ver
    Excel 2003
    Posts
    7

    automatically sum a range of cells in multiple workboks

    I am trying to find a formula or code that automatically sums all cells in different columns within different sheets. For example, i have three different worksheets with three different ranges. I want the totals calculated at the bottom of each range automatically.

  2. #2
    Forum Expert
    Join Date
    07-31-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    4,070

    Re: automatically sum a range of cells in multiple workboks

    Maybe i am missing something. Why dont you just use =SUM(Range)

  3. #3
    Registered User
    Join Date
    12-14-2010
    Location
    norfolk
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: automatically sum a range of cells in multiple workboks

    because i have to manually go to each sheet and sleect the range. my sheets have different ranges. i want the sum formula to know where the end of the range is and show the total there, without me selecting the range.

  4. #4
    Forum Expert
    Join Date
    07-31-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    4,070

    Re: automatically sum a range of cells in multiple workboks

    This should do the trick. You will have to change the column in the code to match your desired column. (example: I used column A). This will work on every worksheet in the workbook. If you need to do for multiple columns in one worksheet you would be able to repeat the code within the loop. We could get more fancy and have it do for each column that exists in a sheet or have you input a range but honestly......waste of time. Unless you got 1000 worksheets with 1000 columns just do =SUM(A$1:lastrange) and copy/paste for the other columns. Lazyness kills me sometimes.

    Please Login or Register  to view this content.
    Let me know.

  5. #5
    Registered User
    Join Date
    12-14-2010
    Location
    norfolk
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: automatically sum a range of cells in multiple workboks

    thanks you. it worked

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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