+ Reply to Thread
Results 1 to 4 of 4

Calculating time differences with pre formatted cells

Hybrid View

  1. #1
    Registered User
    Join Date
    09-21-2012
    Location
    Mumbai, India
    MS-Off Ver
    Excel 2003
    Posts
    93

    Calculating time differences with pre formatted cells

    Hi experts,
    here is my problem
    First I want to enter time in hh:mm format but without entering ":" . For this I want to pre format the
    cells and when I searched on the net I got this solution - format the cells with custom format 0\:00.
    After doing this if i enter 1625 it is displayed as 16:25
    So till here there is no problem.

    But when I want to perform calculations on these cells say for example
    A1 B1 C1=B1-A1
    16:25 17:10 i should get 00:45

    but its not working.

    Any ideas ?

    kmahesh

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: Calculating time differences with pre formatted cells

    In C1 Cell

    =TEXT(B1,"00\:00")-TEXT(A1,"00\:00")


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Registered User
    Join Date
    09-21-2012
    Location
    Mumbai, India
    MS-Off Ver
    Excel 2003
    Posts
    93

    Re: Calculating time differences with pre formatted cells

    Thank U Sixthsense
    Its working.

  4. #4
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: Calculating time differences with pre formatted cells

    Glad it helps you and thanks for the feedback

+ 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. Calculating Time Differences in Access
    By Alprashant in forum Access Tables & Databases
    Replies: 12
    Last Post: 10-08-2013, 01:49 AM
  2. [SOLVED] Calculating Time differences
    By LGT06 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-01-2013, 06:56 AM
  3. Calculating & Displaying time differences
    By matt002 in forum Excel - New Users/Basics
    Replies: 6
    Last Post: 03-12-2009, 05:35 AM
  4. Calculating time differences
    By cjccpa in forum Excel General
    Replies: 5
    Last Post: 04-01-2008, 09:02 AM
  5. Calculating time differences
    By WaySlowWhitey in forum Excel General
    Replies: 3
    Last Post: 10-22-2007, 10:26 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