+ Reply to Thread
Results 1 to 7 of 7

Formula to auto change Date

  1. #1
    Registered User
    Join Date
    01-25-2017
    Location
    USA, California
    MS-Off Ver
    2007
    Posts
    13

    Formula to auto change Date

    Hi all, I have a question, how do I change the Date & Time on each cell (on left side) to all have the same date but still the time not change, i just need the date change but not the time. Is there a function to detect DATE values & +/- depending its date value?

    Date change.png

  2. #2
    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,067

    Re: Formula to auto change Date

    Yes. Something like this can be used:

    =$F$1+MOD(A2,1)
    Attached Files Attached Files
    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

  3. #3
    Registered User
    Join Date
    01-25-2017
    Location
    USA, California
    MS-Off Ver
    2007
    Posts
    13

    Re: Formula to auto change Date

    awesome, thanks!

  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,067

    Re: Formula to auto change Date

    you're welcome.

  5. #5
    Registered User
    Join Date
    01-25-2017
    Location
    USA, California
    MS-Off Ver
    2007
    Posts
    13

    Re: Formula to auto change Date

    Hi Glenn, I still have a problem. I tried to COUNTIF search for specific time cells, but it has error, then I realized even if I manually type the Date & Time, the actual value is different from the MOD value. Is there a wayto make the MOD changes the DATE but follow the same time value?
    Or is there another function that countif a time only by the hours & not minutes/seconds?



    Time Value.png
    Attached Files Attached Files

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

    Re: Formula to auto change Date

    These are rounding errors, caused by the way that Excel counts...


    see the yellow shaded cells...
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    01-25-2017
    Location
    USA, California
    MS-Off Ver
    2007
    Posts
    13

    Re: Formula to auto change Date

    that works. again much appreciated!!

+ 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. Auto change date formats
    By Bernerd Ern in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 02-04-2016, 05:42 PM
  2. Auto change date for printing
    By Sal1tech in forum Excel General
    Replies: 7
    Last Post: 09-18-2014, 11:43 AM
  3. auto day and date change
    By Daniel290670 in forum Excel General
    Replies: 4
    Last Post: 03-15-2014, 10:26 AM
  4. Replies: 3
    Last Post: 05-17-2011, 09:44 AM
  5. auto change cell formula on condition of worksheet change in other cells
    By futurejock in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-01-2009, 12:11 AM
  6. auto date change
    By daveboggs in forum Excel General
    Replies: 1
    Last Post: 06-07-2006, 10:10 AM
  7. [SOLVED] date auto change
    By Colin2u in forum Excel General
    Replies: 3
    Last Post: 08-21-2005, 01:05 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