+ Reply to Thread
Results 1 to 13 of 13

Formula to return TRUE / FALSE if a date is less that today

  1. #1
    Registered User
    Join Date
    04-25-2020
    Location
    Leamington Spa, England
    MS-Off Ver
    2016
    Posts
    12

    Formula to return TRUE / FALSE if a date is less that today

    Dear all - HELP!

    I have a list of dates in Excel

    Can any of you help me out with a formula to return TRUE / FALSE if a date is less that today.

    I have tried looking on google but the nearest I can find are to do with conditional formatting

    Thanks in advance

    Robert

  2. #2
    Valued Forum Contributor Eastw00d's Avatar
    Join Date
    02-29-2020
    Location
    Breda, NL
    MS-Off Ver
    2016, 2019
    Posts
    833

    Re: Formula to return TRUE / FALSE if a date is less that today

    Hi,
    If your date is in cell A1 you could use this formula:


    Cheers
    Erwin

    Mmm, strange I cannot post my formula, telling me I use HTML code....
    Last edited by Eastw00d; 04-25-2020 at 02:15 AM.
    I started learning VBA because I was lazy ...
    Still developing.... being more lazy...

  3. #3
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,937

    Re: Formula to return TRUE / FALSE if a date is less that today

    Hi, welcome to the forum, a new column on the same row and a formula with
    Let's say Column C contains the date value and in the new column the following formula

    Please Login or Register  to view this content.
    ---
    Hans
    "IT" Always crosses your path!
    May the (vba) code be with you... if it isn't; start debugging!
    If you like my answer, Click the * below to say thank-you

  4. #4
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,937

    Re: Formula to return TRUE / FALSE if a date is less that today

    Quote Originally Posted by Eastw00d View Post
    Hi,
    If your date is in cell A1 you could use this formula:
    Please Login or Register  to view this content.
    Cheers
    Erwin
    You forgot the formula

  5. #5
    Registered User
    Join Date
    04-25-2020
    Location
    Leamington Spa, England
    MS-Off Ver
    2016
    Posts
    12

    Re: Formula to return TRUE / FALSE if a date is less that today

    That worked. Thank you
    Last edited by RobertGallafent; 04-25-2020 at 02:32 AM.

  6. #6
    Valued Forum Contributor Eastw00d's Avatar
    Join Date
    02-29-2020
    Location
    Breda, NL
    MS-Off Ver
    2016, 2019
    Posts
    833

    Re: Formula to return TRUE / FALSE if a date is less that today

    I know, i cannot post my formula
    like: Access Denied - Sucuri Website Firewall
    Cheers
    Erwin

  7. #7
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,937

    Re: Formula to return TRUE / FALSE if a date is less that today

    @Erwin, I got the same error first but when I added the = sign and the cell reference with the $ it accepted it.
    The error occurs when you include the greater than sign without a clear indication that it concerns a formula, even if it is in code blocks. See my post answer

  8. #8
    Valued Forum Contributor Eastw00d's Avatar
    Join Date
    02-29-2020
    Location
    Breda, NL
    MS-Off Ver
    2016, 2019
    Posts
    833

    Re: Formula to return TRUE / FALSE if a date is less that today

    Aha, thank you Keebellah,
    Well, my formula was less spectacular:
    Please Login or Register  to view this content.
    Cheers
    Erwin
    Last edited by Eastw00d; 04-25-2020 at 02:28 AM. Reason: typo

  9. #9
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,937

    Re: Formula to return TRUE / FALSE if a date is less that today

    It's a good one , the result is the same, unless the OP has empty cells that you'll vane to include a check for empty cells

  10. #10
    Registered User
    Join Date
    04-25-2020
    Location
    Leamington Spa, England
    MS-Off Ver
    2016
    Posts
    12

    Re: Formula to return TRUE / FALSE if a date is less that today

    Thanks all for your help. I have used the simpler of the formula's suggested

  11. #11
    Valued Forum Contributor Eastw00d's Avatar
    Join Date
    02-29-2020
    Location
    Breda, NL
    MS-Off Ver
    2016, 2019
    Posts
    833

    Re: Formula to return TRUE / FALSE if a date is less that today

    No one is blaming you Robert

    Having said that, and despite my formula, I would think "any date less than today" would be a date in the future, as in: any date younger than today.....
    Cheers
    Erwin

  12. #12
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,937

    Re: Formula to return TRUE / FALSE if a date is less that today

    Glad we could help, don't forget to mark the post solved.

  13. #13
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2507 (Windows 11 Home 24H2 64-bit)
    Posts
    91,924

    Re: Formula to return TRUE / FALSE if a date is less that today

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

+ 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. [SOLVED] Formula to Return True/False if value is within range
    By Andrew.Trevayne in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 12-09-2019, 02:58 AM
  2. Formula to return as true or false
    By mikehk in forum Excel General
    Replies: 17
    Last Post: 01-18-2019, 05:08 PM
  3. [SOLVED] Formula to return a True/False if date equals yesterday's date
    By abbeycrombie in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-17-2013, 11:31 AM
  4. Return True or False if date range falls within current month
    By kieran614 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-17-2013, 12:02 PM
  5. [SOLVED] formula to lookup formatting and return true false
    By paintballlovr in forum Excel General
    Replies: 2
    Last Post: 05-17-2012, 09:32 AM
  6. Return True/False if cell contains formula
    By rziegler in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-09-2009, 03:03 PM
  7. Easy formula to return a true or false
    By motol in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-03-2006, 10:50 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