+ Reply to Thread
Results 1 to 2 of 2

Editing a formula to accomodate new information

  1. #1
    Registered User
    Join Date
    04-18-2012
    Location
    birmingham england
    MS-Off Ver
    2010
    Posts
    63

    Editing a formula to accomodate new information

    Hi, In my spreadsheet (attatched) the small table to the right creates a monthly total for incoming daily payments which are detailed in the main table on the left. (this is a different total to the weekly totals as the weekly totals do not allow for months which finish mid week).

    I have just inserted a new column (C) I would like the figure in this column to contribute to the monthly total in G4.

    I got some help from this someone on this forum to create the formula in G4 and now I cannot figure out how to change the formula in G4 (and downward for further months) to include the new payments now being detailed Column C.

    I hope that makes sense, and i hope someone can help.
    Attached Files Attached Files

  2. #2
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Editing a formula to accomodate new information

    My suggestion would be to use SUMIFS() instead of SUMPRODUCT() so it would be:

    =SUM(SUMIFS(B:B,A:A,">="&F4,A:A,"<="&EOMONTH(F4,0)),SUMIFS(C:C,A:A,">="&F4,A:A,"<="&EOMONTH(F4,0)))
    in G4 and down
    and replace the SUMPRODUCT() in H4 with:

    =SUMIFS(D:D,A:A,">="&F4,A:A,"<="&EOMONTH(F4,0))

    you can change the whole column references to specific ranges if you like

+ 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