+ Reply to Thread
Results 1 to 3 of 3

DATEVALUE used for Criteria range in SUMIFS formula

  1. #1
    Registered User
    Join Date
    07-19-2011
    Location
    Pennsylvania
    MS-Off Ver
    Excel 2007
    Posts
    19

    DATEVALUE used for Criteria range in SUMIFS formula

    I have the following SUMIFS formula with multiple criteria. For the last criteria, I am trying to pull the data that is greater than or equal to a date in column E. Problem is that column E is format as text from an external download. I tried to add DATEVALUE to the formula but I cannot enter the formula as it is written below (I get this formula contains an error).

    If I remove the DATEVALUE part of the formula, I can enter the formula, but it doesn't return data because the criteria range dates are text and the criteria is date format. I am trying to achieve this by not having to add a helper column with the dates converted to date or modifying the extenal data format

    =SUMIFS($J:$J,$A:$A,$N60,$D:$D,$P60,$F:$F,$R60,$G:$G,">="&$T60,$H:$H,">="&$U60,$I:$I,$V60,datevalue($E:$E),">=”B56)

    HELP!!

  2. #2
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    Office 2021
    Posts
    2,237

    Re: DATEVALUE used for Criteria range in SUMIFS formula

    Try something with Array Formula,

    Please Login or Register  to view this content.
    Do not use whole column reference. Use a dynamic range.
    Regards,
    Haseeb Avarakkan

    __________________________________
    "Feedback is the breakfast of champions"

  3. #3
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: DATEVALUE used for Criteria range in SUMIFS formula

    hi heatherromo, hmmmm i dont know if Excel allows u to convert the range to DATEVALUE. it's definitely possible if u put a DATEVALUE formula in say column S to convert the whole Column E. and then change your formula to:
    =SUMIFS($J:$J,$A:$A,$N60,$D:$D,$P60,$F:$F,$R60,$G:$G,">="&$T60,$H:$H,">="&$U60,$I:$I,$V60,datevalue($S:$S),">=”&B56)

    also, u must add in "&" after ">="

    do upload a file for us to try if it doesnt work

+ 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