+ Reply to Thread
Results 1 to 3 of 3

How to remove letters and minus 4 hours from current time?

  1. #1
    Registered User
    Join Date
    06-04-2022
    Location
    Sarasota, FL
    MS-Off Ver
    Not sure
    Posts
    1

    How to remove letters and minus 4 hours from current time?

    Team, please ; need help! Thank you kindly in advance!

    How to remove letters and minus 4 hours from current time?

    Cell: 2022-05-31T16:58:44.907Z
    Goal: Obtain the hour count of 16:58:44 (-) 04:00:00 = result


    Thank you again

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: How to remove letters and minus 4 hours from current time?

    If the format is standardized and is always yyyy-mm-ddThh:mm:ss.mmmZ then

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Values as displayed
    A
    B
    1
    2022-05-31T16:58:44.907Z
    12:58 PM

    Underlying formulas
    A
    B
    1
    2022-05-31T16:58:44.907Z
    =TIMEVALUE(MID(A1,12,8)) - TIME(4,0,0)
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: How to remove letters and minus 4 hours from current time?

    Please update your profile. For your Office version, open Excel, go to File, Account and see what version is shown. Also when you first start Excel you get a splash screen showing the version before the app fully opens.

+ 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] Highlight current time in half hours using CF
    By tigfur in forum Excel General
    Replies: 16
    Last Post: 04-16-2016, 04:35 PM
  2. Hours worked minus breaks and start finish time
    By TheHoc in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-03-2015, 11:03 PM
  3. Minus break time minutes off working hours
    By ubaid in forum Excel General
    Replies: 1
    Last Post: 06-15-2014, 08:41 PM
  4. [SOLVED] calculate time in and time out minus lunch hours
    By rjassal82 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-29-2013, 10:43 AM
  5. [SOLVED] Formula to work out hours between 2 dates and times.. MINUS Out Of Hours
    By chris.m in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-30-2012, 08:11 AM
  6. Excel 2007 : Formula for current time + hours
    By twisted in forum Excel General
    Replies: 5
    Last Post: 01-18-2010, 03:12 AM
  7. Replies: 0
    Last Post: 05-09-2006, 07:50 PM

Tags for this Thread

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