+ Reply to Thread
Results 1 to 2 of 2

Sumproduct with Time Constraint

  1. #1
    Registered User
    Join Date
    10-05-2012
    Location
    Los Angeles, CA
    MS-Off Ver
    Excel 2010
    Posts
    11

    Sumproduct with Time Constraint

    I am trying to get the sumproduct of a range of cells for a period of time that is 3 years prior to the current year. I can't figure out what I am doing wrong. The formula I am trying to use is:

    =SUMPRODUCT(IF(Z102:Z293<>0,IF(B102:B293>=EDATE(TODAY(),-36),(Z102:Z293,AE102:AE293),0)))

    I want to get the sumproduct of column Z and column AE.
    Attached Files Attached Files

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Sumproduct with Time Constraint

    I don't think you need to check that column Z isn't zero, you'll get zero anyway when you multiply with AE so it doesn't affect the result.....

    Try this formula

    =SUMPRODUCT((B102:B293>=EDATE(TODAY(),-36))+0,Z102:Z293,AE102:AE293)
    Audere est facere

+ 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