+ Reply to Thread
Results 1 to 3 of 3

Sum Rows until there is a new date in Column A.

  1. #1
    Registered User
    Join Date
    05-30-2013
    Location
    Ohio
    MS-Off Ver
    Excel 2003
    Posts
    28

    Sum Rows until there is a new date in Column A.

    Please reference my attached spreadsheet. The formula I am Working on is in column D starting at row 7 under "Actual Paid Gross". Is there a formula that would sum the current row and all the rows below it until a Date was found in Column A?

    For example reference D9. If the formula worked correctly it would sum from G9:N12. The formula would stop suming the rows below it once a new date is in row A. In this example the formual would stop at N12 because of the date in A13. Right now I can only get it to sum one row.
    Attached Files Attached Files

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Sum Rows until there is a new date in Column A.

    Try:

    =IF(A7<>"",SUM(G7:IF(A8="",INDEX($N8:$N$20,MATCH(TRUE,INDEX($A8:$A$20<>"",0),0)-1),N7)),"")

    copied down
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    05-30-2013
    Location
    Ohio
    MS-Off Ver
    Excel 2003
    Posts
    28

    Re: Sum Rows until there is a new date in Column A.

    This works great thanks

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Coloring rows according to date in a column
    By 3nduranc3 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-21-2013, 10:55 AM
  2. [SOLVED] Macro to update the date column for certain rows in a table depending on a column value
    By ajolin in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-18-2012, 12:21 AM
  3. Select a Date between Two Date Rows, then the Column State and return Table Matrix Values
    By InNeedofHelpASAP in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-12-2012, 11:03 AM
  4. Select rows with matching date in column
    By georgeu in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-06-2010, 06:33 AM
  5. [SOLVED] Auto Fill Column with Date based on rows in other column
    By JOUIOUI in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-06-2006, 01:35 PM

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