+ Reply to Thread
Results 1 to 7 of 7

IF() system date not yet reached (compare with future date)

  1. #1
    Banned User!
    Join Date
    02-06-2020
    Location
    Iowa City, IA, USA
    MS-Off Ver
    2016 - 365 / 2007
    Posts
    2,014

    IF() system date not yet reached (compare with future date)

    I'm so sorry guys, I know this is simple stupid. but the interface doesn't have dateSerial(), as I see. so, here's what I have. I have this data:

    FEE FEE END DATE
    $0 1/18/2022
    what I need is a function in the FEE column whereby the $0 is always displayed until the date 1/18/2022 is reached, and after that point, $25 is displayed. can someone help me out with the formula? thanks. the check is based on my windows OS data/time stamp set. it is reading the atomic clock in Denver

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,948

    Re: IF() system date not yet reached (compare with future date)

    Something like this?

    =IF(TODAY()<B2,0,25)

    where B2 is the cell in the fee end date column that shows the end date.
    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.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,466

    Re: IF() system date not yet reached (compare with future date)

    With date in B2:
    In A2:
    =(B2>DATE(2022,1,18))*25
    Is it are you looking for?
    Quang PT

  4. #4
    Banned User!
    Join Date
    02-06-2020
    Location
    Iowa City, IA, USA
    MS-Off Ver
    2016 - 365 / 2007
    Posts
    2,014

    Re: IF() system date not yet reached (compare with future date)

    both work fine guys. thanks. sorry for the simplistic nature. obviously I know nothing about simplicity.

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,948

    Re: IF() system date not yet reached (compare with future date)

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

  6. #6
    Banned User!
    Join Date
    02-06-2020
    Location
    Iowa City, IA, USA
    MS-Off Ver
    2016 - 365 / 2007
    Posts
    2,014

    Re: IF() system date not yet reached (compare with future date)

    Quote Originally Posted by AliGW View Post
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.
    I think you're going to have to remind me to do that until the day I die. he he. done. thanks.

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,948

    Re: IF() system date not yet reached (compare with future date)

    I hope not!

+ 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] Change Excel system date and local system date.
    By Kanzen in forum Excel General
    Replies: 6
    Last Post: 03-31-2019, 01:15 PM
  2. [SOLVED] VBA Code to stop Running once the Todays date reached mentioned date
    By Rajeshkumar R in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-05-2018, 02:47 PM
  3. [SOLVED] Move specific cells to a new sheet when a date is reached or 30 days from being reached
    By Albert Dirk in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-26-2016, 04:44 AM
  4. [SOLVED] Compare strings for match in separate worksheet and return nearest future date
    By kungfood in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-05-2012, 05:19 PM
  5. Replies: 1
    Last Post: 04-18-2012, 05:49 PM
  6. How to compare system date with the date in cell of a ws?
    By techissue2008 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-23-2009, 01:10 PM
  7. Replies: 7
    Last Post: 11-16-2008, 05:48 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