+ Reply to Thread
Results 1 to 5 of 5

Confused, SUMPRODUCT or SUMIFS to compare 2 dates in a row

Hybrid View

coasterman Confused, SUMPRODUCT or... 09-29-2013, 02:10 PM
Fotis1991 Re: Confused, SUMPRODUCT or... 09-29-2013, 02:18 PM
coasterman Re: Confused, SUMPRODUCT or... 09-29-2013, 02:40 PM
daddylonglegs Re: Confused, SUMPRODUCT or... 09-29-2013, 03:01 PM
coasterman Re: Confused, SUMPRODUCT or... 09-29-2013, 03:15 PM
  1. #1
    Registered User
    Join Date
    04-22-2011
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    59

    Confused, SUMPRODUCT or SUMIFS to compare 2 dates in a row

    Hi

    I am unsure of the crrect way to go about this task.

    I have these columns in my Excel table

    COL A: An £amount, (which represents is an upcoming bill payment)
    COL B: the due date for the bill
    COL C: A date set by the user to be reminded of the forthcoming payment

    I am trying to write a formula that will SUM all forthcoming payments that are after the reminder dates set by the user in COL B. This formula will naturally be outside the table itself.

    As the title declares I'm confused about whether this needs to be an array formula say with SUMPRODUCT or if it can be achieved with a SUMIFS in EXCEL 2007

    Many thanks all
    Last edited by coasterman; 09-29-2013 at 03:14 PM.

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Confused, SUMPRODUCT or SUMIFS to compare 2 dates in a row

    Perhaps something like..

    =SUMIF(B:B,C2,A:A)


    EDIT: Apologize. You said after the reminder dates...

    =SUMIF(B:B;">"&C2;A:A)
    Last edited by Fotis1991; 09-29-2013 at 02:35 PM. Reason: Edit
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Registered User
    Join Date
    04-22-2011
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    59

    Re: Confused, SUMPRODUCT or SUMIFS to compare 2 dates in a row

    Hi,

    I messed up here with the question, sorry all. I realise now the question makes no sense at all.

    The criteria for the SUM part of the formula is not whether the actual payment due dates fall after the reminder dates but instead whether TODAY() is greater than the reminder dates set for each row.

    This is why I thought this may be an array formula as each row needs to be checked against todays date and the reminder date and then sum those rows where Today() >= reminder date.

  4. #4
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,696

    Re: Confused, SUMPRODUCT or SUMIFS to compare 2 dates in a row

    If you just want to sum where the reminder date is <= today then you can use this formula

    =SUMIF(C:C,"<="&TODAY(),A:A)

    .......but that would also include amounts where the due date has passed so if you want to exclude those rows try this version

    =SUMIFS(A:A,C:C,"<="&TODAY(),B:B,">="&TODAY())
    Last edited by daddylonglegs; 09-29-2013 at 03:03 PM.
    Audere est facere

  5. #5
    Registered User
    Join Date
    04-22-2011
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    59

    Re: Confused, SUMPRODUCT or SUMIFS to compare 2 dates in a row

    Thanks daddylonglegs, exactly what I was after.

+ 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. Replies: 1
    Last Post: 10-03-2012, 10:32 PM
  2. [SOLVED] Macro executes but not giving results :confused::confused::confused:
    By Ganesh7299 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-15-2012, 10:49 AM
  3. Replies: 34
    Last Post: 05-23-2012, 04:08 PM
  4. Confused.com... Sumproduct or Sumif???
    By Ho-hum in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-31-2011, 05:31 PM
  5. DAYS360, dates - very confused
    By happyaslarry in forum Excel General
    Replies: 2
    Last Post: 01-18-2005, 07:49 AM

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