+ Reply to Thread
Results 1 to 5 of 5

">="&DATE VS ">="&Date

  1. #1
    Registered User
    Join Date
    01-03-2025
    Location
    East Coast
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO Version 2501 64-bit
    Posts
    1

    ">="&DATE VS ">="&Date

    Hi All,

    I have a sheet that I use every day that sums up sales based on a ">="&DATE function. I added a column for '25 and it still calculates all the previous years but not '25. The formula is exactly the same only with 2025 vs 2024. The only difference I can see is that the "DATE" now says "Date". Any ideas on what could be causing this not to calculate? All the raw data is correct. Thanks

    =IFERROR(SUMIFS(Sales!$N:$N,Sales!$I:$I,B3,Sales!$M:$M,">="&DATE(2024,1,1),Sales!$M:$M,"<="&DATE(2024,12,31)),0)

    =IFERROR(SUMIFS(Sales!$N:$N,Sales!$I:$I,B3,Sales!$M:$M,">="&Date(2025,1,1),Sales!$M:$M,"<="&Date(2025,12,31)),0)

  2. #2
    Forum Expert
    Join Date
    09-25-2015
    Location
    Milan Italy
    MS-Off Ver
    office 365
    Posts
    1,982

    Re: ">="&DATE VS ">="&Date

    Fast answers need clear examples. Post a small Excel sheet (not a picture) showing realistic & representative sample data WITHOUT confidential information (10-20 rows, not thousands...) and some manually calculated results. For a new thread (1st post), scroll to Manage Attachments, otherwise scroll down to GO ADVANCED, click, and then scroll down to MANAGE ATTACHMENTS and click again. Now follow the instructions at the top of that screen.

  3. #3
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.92 (24120731))
    Posts
    9,085

    Re: ">="&DATE VS ">="&Date

    working for me and the
    date CHANGES to DATE

    Windows 11 - is not a Excel Version , its the operating system
    What version of excel are you using - would be worth updating your profile to show version as solutions will be dependant on what version you have and therefore what functions available



    A sample sheet would help here, and possibly will enable a quicker and more accurate solution for you.


    The forum does allow for spreadsheets to be uploaded direct to the forum -

    Please see the Yellow Banner at the top of the page explaining how to attach a sample spreadsheet

    A good sample workbook has just 10-20 rows of representative data that has been desensitised. It also has expected results mocked up, relevant cells highlighted and a few explanatory notes.

    Here are the instructions, found at the top of the page again
    Post a small Excel sheet (not a picture) showing realistic & representative sample data WITHOUT confidential information (10-20 rows, not thousands...) and some manually calculated results. For a new thread (1st post), scroll to Manage Attachments, otherwise scroll down to GO ADVANCED, click, and then scroll down to MANAGE ATTACHMENTS and click again. Now follow the instructions at the top of that screen.
    Attached Files Attached Files
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  4. #4
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2411
    Posts
    26,673

    Re: ">="&DATE VS ">="&Date

    Welcome to the Forum Akasweetj!

    Please update your member profile to show your Excel version, like Excel 2019, Excel 2021, Microsoft 365. (You have your Windows version.)

    I thought maybe you have a named ranged or named formula called "Date" in your file. But when I tried that, the built-in function DATE still takes precedence. Date is a reserved word in VBA so I can't define a UDF with that name.

    As noted twice already please attach your file for analysis.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  5. #5
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,408

    Re: ">="&DATE VS ">="&Date

    Perhaps your calculation mode has been set to Manual, rather than Automatic - this can occur if you open another workbook which is set to manual.

    Hope this helps.

    Pete

+ 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: 6
    Last Post: 06-17-2021, 06:21 AM
  2. Replies: 5
    Last Post: 02-05-2019, 12:03 AM
  3. [SOLVED] Column X-Ref list - Sheet1 Col A "pages", Col B:FL "Req" to Sheet2 ColA "req", ColB "page"
    By excel-card-pulled in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 04-07-2017, 09:30 AM
  4. Replies: 1
    Last Post: 01-22-2016, 09:21 AM
  5. Date format of just "st" "nd" "rd" and "th" with text included
    By notrandom in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-10-2013, 05:45 PM
  6. Return "green", "yellow" or "red" from date/age and priority ranking
    By Cantaloop in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-04-2013, 12:12 AM
  7. Replies: 1
    Last Post: 09-15-2010, 01:55 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