+ Reply to Thread
Results 1 to 13 of 13

Excel spreadsheet - <=TODAY() error

  1. #1
    Forum Contributor
    Join Date
    05-14-2015
    Location
    Ulaanbaatar, Mongolia
    MS-Off Ver
    Office 2021 Professional Plus
    Posts
    120

    Excel spreadsheet - <=TODAY() error

    Hi all,

    I have this mobilisation spreadsheet and the formula is mostly working except
    Please Login or Register  to view this content.
    I want it to show "Medical Completed" if the inserted date has passed today's date. If the inserted date has not been met / or its in the future, i want to show "Medical Booked".

    If you see the previous formulas it shows Mobilzed if the date has been met with requirement.

    Please help.
    Last edited by Byambadorj; 08-22-2017 at 02:38 AM.

  2. #2
    Forum Contributor
    Join Date
    05-14-2015
    Location
    Ulaanbaatar, Mongolia
    MS-Off Ver
    Office 2021 Professional Plus
    Posts
    120

    Re: Excel spreadsheet - <=TODAY() error

    Apologies for my bad English. Not my native language.

  3. #3
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,873

    Re: Excel spreadsheet - <=TODAY() error

    On which tab and in which column do you want this formula to appear.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  4. #4
    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,740

    Re: Excel spreadsheet - <=TODAY() error

    Is this workbook showing real client data? If so, then please remove the attachment, desensitise the data and re-post.
    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.

  5. #5
    Forum Contributor
    Join Date
    05-14-2015
    Location
    Ulaanbaatar, Mongolia
    MS-Off Ver
    Office 2021 Professional Plus
    Posts
    120

    Re: Excel spreadsheet - <=TODAY() error

    Quote Originally Posted by alansidman View Post
    On which tab and in which column do you want this formula to appear.
    If you opened the excel sheet there is STATUS column in E which goes down. I want one of the options to show "Medical Booked" if <=TODAY()) has not been met; and "Medical Completed" if <=TODAY()) has been met.

  6. #6
    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,740

    Re: Excel spreadsheet - <=TODAY() error

    Please review post #4 as a matter of urgency.

  7. #7
    Forum Contributor
    Join Date
    05-14-2015
    Location
    Ulaanbaatar, Mongolia
    MS-Off Ver
    Office 2021 Professional Plus
    Posts
    120

    Re: Excel spreadsheet - <=TODAY() error

    @AliGW - Just did. Thank you

  8. #8
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,873

    Re: Excel spreadsheet - <=TODAY() error

    =IF(OR([@[Medical Completed]]>=TODAY(),[@[Medical Completed]]=""), "Medical Booked","Medical Completed")

  9. #9
    Forum Contributor
    Join Date
    05-14-2015
    Location
    Ulaanbaatar, Mongolia
    MS-Off Ver
    Office 2021 Professional Plus
    Posts
    120

    Re: Excel spreadsheet - <=TODAY() error

    Quote Originally Posted by alansidman View Post
    =IF(OR([@[Medical Completed]=]=>=TODAY(),[@[Medical Completed]]=""), "Medical Booked","Medical Completed")
    Now the whole formula is not working, saying "You've entered too many argument" I don't know where its being faulty. Can you please insert on the spreadsheet and copy paste the correct?? Thank you very much.

  10. #10
    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,740

    Re: Excel spreadsheet - <=TODAY() error

    Trouble is, if you want either one or the other of those returns, by definition they will cancel out everything else.

  11. #11
    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,740

    Re: Excel spreadsheet - <=TODAY() error

    Try this:

    =IF(OR([@[Medical Completed]]>=TODAY(),[@[Medical Completed]]=""), "Medical Booked",IF(AND(ISNUMBER([@[SAP Number Received Date]]),[@[Travel to Site/First day in UB Office]]<=TODAY()),"Mobilized",IF(ISNUMBER([@[SAP Number Provided]]),"Notification Sent",IF(ISNUMBER([@[SAP Number Submitted Date]]),"SAP Submitted",IF(ISNUMBER([@[Medical Received]]),"Medical Received",IF(ISNUMBER([@[Medical Completed]]<=TODAY()),"Medical Completed",IF(ISNUMBER([@[New Starter Alert]]),"NSA Received",IF(ISNUMBER([@[Employment Contract Signed]]),"Contract Signed",IF(ISTEXT([@[Employment Contract Signed]]),"Contract Not Signed","Medical Completed")))))))))

  12. #12
    Forum Contributor
    Join Date
    05-14-2015
    Location
    Ulaanbaatar, Mongolia
    MS-Off Ver
    Office 2021 Professional Plus
    Posts
    120

    Re: Excel spreadsheet - <=TODAY() error

    Thanks all. Did some tweak on <= ; = ; >TODAY()) and now its working. Much appreciated. You guys are great & keep it up. Marked as solved.

  13. #13
    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,740

    Re: Excel spreadsheet - <=TODAY() error

    You're welcome!

+ 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. Create a button that will find today's date in a spreadsheet.
    By slindfors in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-03-2015, 03:19 PM
  2. [SOLVED] Vba Syntax to Excel Spreadsheet Error
    By penbeacho in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-29-2015, 03:17 PM
  3. Excel spreadsheet crashing on mac with this error.
    By Danoprimo in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 1
    Last Post: 03-26-2013, 08:30 AM
  4. Importing excel spreadsheet into access table, getting excel row header error
    By ncsthbell in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-19-2010, 02:36 PM
  5. Replies: 4
    Last Post: 11-25-2009, 08:10 PM
  6. Replies: 3
    Last Post: 06-01-2008, 04:55 PM
  7. Save spreadsheet into folder based on today's Date?
    By nbaj2k in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-04-2006, 11:40 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