+ Reply to Thread
Results 1 to 8 of 8

Subtract time with text added

  1. #1
    Forum Contributor
    Join Date
    03-08-2007
    Location
    St. Augustine, Fl
    MS-Off Ver
    Excel 2021 for Mac
    Posts
    392

    Subtract time with text added

    I would like to subtract 9:30 AM From 9:40 Am. I have tried the formula listed and I get, (0.00694444444444442 Mins)
    Please Login or Register  to view this content.
    Last edited by Wskip49; 11-18-2009 at 10:43 AM.

  2. #2
    Registered User
    Join Date
    12-22-2003
    Location
    Texas
    Posts
    90

    Re: Subtract time with text added

    time is represented in days, so multiply the result of your formula by 1440 (24 h * 60 min) to get to minutes. You might also round the result to get a clean result.

    =round((S5-Q5)*1440,0)&""&" Mins"
    Barrfly

  3. #3
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Subtract time with text added

    Hi,

    One way with the cell formatted as a number

    Please Login or Register  to view this content.
    Rgds
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  4. #4
    Valued Forum Contributor JeanRage's Avatar
    Join Date
    03-02-2009
    Location
    Nice, France
    MS-Off Ver
    Excel 2003
    Posts
    705

    Re: Subtract time with text added

    Hi,

    With a conversion ...
    =TEXT((A1-B1)*1440,"00")&" Mins"
    HTH

  5. #5
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Subtract time with text added

    I would suggest you use

    =S5-Q5

    And apply a Custom Format to cell containing formula of: [m]" Mins"
    (underlying value thus persists as valid time value for latter calcs if nec.)

  6. #6
    Forum Contributor
    Join Date
    03-08-2007
    Location
    St. Augustine, Fl
    MS-Off Ver
    Excel 2021 for Mac
    Posts
    392

    Re: Subtract time with text added

    Once again you guys are great

  7. #7
    Forum Contributor
    Join Date
    03-08-2007
    Location
    St. Augustine, Fl
    MS-Off Ver
    Excel 2021 for Mac
    Posts
    392

    Re: Subtract time with text added

    How did you get the 1440 to multiply by?

  8. #8
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Subtract time with text added

    1440 = 60*24 = number of minutes in a day.
    Entia non sunt multiplicanda sine necessitate

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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