+ Reply to Thread
Results 1 to 6 of 6

Adding a time statement to a formula

  1. #1
    Forum Contributor
    Join Date
    07-10-2012
    Location
    United States
    MS-Off Ver
    Office 365
    Posts
    402

    Adding a time statement to a formula

    Hello,

    I need to add a time statement to a formula.

    I am looking to add this: +TIME(0,0,1)

    To this: =EOMONTH($B8,-MOD(MONTH($B8)-1,3)-1)+1

    To add more, in Cell B8, I have this formula: =TODAY()+TIME(5,59,59)

    I appreciate any help.

    thank you,
    Nick

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,466

    Re: Adding a time statement to a formula

    Have you tried:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    03-25-2023
    Location
    Malaysia
    MS-Off Ver
    Microsoft Office 2021 Editions
    Posts
    2

    Re: Adding a time statement to a formula

    I really appreciate your sharing this information.

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,064

    Re: Adding a time statement to a formula

    or:

    =DATE(YEAR(B8),1+3*INT((MONTH(B8)-1)/3),1)+1/86400
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: Lá fhéile Pádraig sona dhaoibh

  5. #5
    Forum Contributor
    Join Date
    07-10-2012
    Location
    United States
    MS-Off Ver
    Office 365
    Posts
    402

    Re: Adding a time statement to a formula

    I forgot to close this one out, Thank you Glenn and TMS!

  6. #6
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,466

    Re: Adding a time statement to a formula

    You're welcome. Thanks for the rep.

+ 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] Adding extra IF statement to formula
    By jhw1998 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-09-2021, 08:31 AM
  2. [SOLVED] Adding IFERROR Statement to a Formula
    By smw10c in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-09-2019, 08:36 AM
  3. Adding an IF statement to a formula.
    By Stoobydoo in forum Excel General
    Replies: 3
    Last Post: 04-10-2017, 10:58 AM
  4. Adding an OR statement into formula
    By mack_76 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 01-21-2015, 11:43 AM
  5. Problem with adding formula with a last row statement
    By WasWodge in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-26-2011, 07:50 PM
  6. Adding Another IF statement to a Formula
    By robertguy in forum Excel General
    Replies: 2
    Last Post: 08-16-2010, 11:50 AM
  7. Adding an OR statement into formula
    By dvent in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-11-2008, 08:39 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