+ Reply to Thread
Results 1 to 3 of 3

Sum Column Until Blank - Then Repeat

  1. #1
    Registered User
    Join Date
    04-15-2011
    Location
    New York
    MS-Off Ver
    Excel 2010
    Posts
    1

    Sum Column Until Blank - Then Repeat

    Hi

    I need a macro that sums values in a column until it reaches a blank, places the value in the column to the right of that column in the same row of the first number in that set, and then repeats this process until it reaches the end of the column.

    Assuming the first number in the column is in cell BA7, the first summation should be placed in BB7.


    Thanks

  2. #2
    Valued Forum Contributor realniceguy5000's Avatar
    Join Date
    03-20-2008
    Location
    Fl
    MS-Off Ver
    Excel 2003 & 2010
    Posts
    951

    Re: Sum Column Until Blank - Then Repeat

    Quote Originally Posted by grantsweitzer View Post
    Hi

    I need a macro that sums values in a column until it reaches a blank, places the value in the column to the right of that column in the same row of the first number in that set, and then repeats this process until it reaches the end of the column.

    Assuming the first number in the column is in cell BA7, the first summation should be placed in BB7.


    Thanks
    Here some code for that. You need to change the col you want to sum.

    Please Login or Register  to view this content.

  3. #3
    Valued Forum Contributor
    Join Date
    09-21-2003
    Location
    British Columbia , Canada
    MS-Off Ver
    03,07,10,13
    Posts
    727

    Re: Sum Column Until Blank - Then Repeat

    Select the single column that has numbers and run macro ... Totals will appear one column to right of orignal

    Please Login or Register  to view this content.

+ 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