+ Reply to Thread
Results 1 to 4 of 4

time date subtraction

  1. #1
    Registered User
    Join Date
    01-17-2008
    Location
    canadaaaaa
    MS-Off Ver
    2019
    Posts
    55

    time date subtraction

    hello i would like to subtract 2 cells containing date and time within the same cell. i have custom formating defined...

    cell 1 : 2022-11-15 11:45
    cell 2 : 2022-11-16 18:10

    im using : =TEXT(E7-D3,"dd:hh:mm")

    is there something more elegant?

    thanks

  2. #2
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,427

    Re: time date subtraction

    What do you think is more elegant?

    Please indicate what you want the end result to look like.

  3. #3
    Registered User
    Join Date
    01-17-2008
    Location
    canadaaaaa
    MS-Off Ver
    2019
    Posts
    55

    Re: time date subtraction

    sorry it works lool too many drinks
    Last edited by paascal; 07-29-2023 at 11:28 PM.

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

    Re: time date subtraction

    Why not just =E7-D3 with Custom Formatting "dd:hh:mm"
    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


+ 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. Receiving error when doing a simple date & time subtraction
    By cph020283 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-29-2020, 09:13 PM
  2. IF statement involving time subtraction versus entered time data
    By JasonTran in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-08-2016, 11:43 AM
  3. Military date time group subtraction
    By elothian in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 12-08-2013, 05:59 AM
  4. Replies: 8
    Last Post: 07-17-2013, 02:13 PM
  5. Date and time subtraction in excel 2003
    By hu2sain in forum Excel - New Users/Basics
    Replies: 8
    Last Post: 11-01-2012, 01:30 AM
  6. Time Subtraction
    By realniceguy5000 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-25-2009, 01:56 PM
  7. Date Subtraction/Time between Occurences
    By Losse in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-15-2005, 01:32 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