+ Reply to Thread
Results 1 to 4 of 4

Sumproduct or sum if Date Range

  1. #1
    Registered User
    Join Date
    11-03-2008
    Location
    UK
    Posts
    14

    Sumproduct or sum if Date Range

    Hi

    Can anyone see why this is not calculating correctly as it should show 4 in Column C and 0 in Column D

    Thanks in advance for your help.

    Roy
    Attached Files Attached Files

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Sumproduct or sum if Date Range

    1) The cell on RMA!A2 does not contain a date, it contains a text string that looks like a date. Change that column to format "DATE" and then re-enter the date so Excel knows that is a real date.

    2) The formula in C2 on Sheet1 is missing a comma:
    =SUMPRODUCT(--(RMA!$C$2:$C$48823=$A2),--(RMA!$A$2:$A$48823>L1),--(RMA!$A$2:$A$48823<M1),RMA!$F$2:$F$48823)
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    11-03-2008
    Location
    UK
    Posts
    14

    Re: Sumproduct or sum if Date Range

    Hi

    This is really strange as its working ok using the dates in Column D but Column C it does not.

    Anyone have any other ideas.

    Thanks
    Roy
    Attached Files Attached Files

  4. #4
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2024
    Posts
    6,177

    Re: Sumproduct or sum if Date Range

    It worked for me, or try this ...

    =SUMIFS(RMA!$G$2:$G$48838,RMA!$D$2:$D$48838,$A2,RMA!$A$2:$A$48838,">="&$L$1,RMA!$A$2:$A$48838,"<="&$M$1)

+ 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. Sumproduct or sum if Date Range
    By viruzman in forum Excel General
    Replies: 6
    Last Post: 07-27-2016, 12:34 PM
  2. SUMPRODUCT Date Range
    By ExcelNotSoWizard in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-05-2016, 11:53 PM
  3. [SOLVED] Sumproduct with date range?
    By tche misere in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-03-2014, 01:13 AM
  4. Replies: 8
    Last Post: 05-14-2012, 02:44 PM
  5. Sumproduct using date range
    By kmlloyd in forum Excel General
    Replies: 3
    Last Post: 12-13-2010, 12:14 PM
  6. Date range in SUMPRODUCT
    By filky in forum Excel General
    Replies: 4
    Last Post: 02-03-2009, 06:39 AM
  7. Sumproduct with date range?
    By mitelkm in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-20-2008, 01:47 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