+ Reply to Thread
Results 1 to 5 of 5

How can i solve this Time calculation problem

  1. #1
    J.wills
    Guest

    How can i solve this Time calculation problem

    Hi,

    Is there a way I can enter a one to three digit number, have it appear as a three digit number, but have it stored in short time

    (nn:ss). For instance, in a form or table, I want to enter the number 135 and have it displayed as 135. However, I want the number

    stored as 02:15, meaning that the 135 is one hundred and thirty five seconds. This then gets stored as 2 minutes 15 seconds. I plan

    to use the stored 02:15 in a later time calculation.

    Any help is appreciated.
    Last edited by J.wills; 03-20-2009 at 01:46 AM. Reason: Due to breaking Rule No 9

  2. #2
    Forum Administrator ExlGuru's Avatar
    Join Date
    03-17-2009
    Location
    India
    MS-Off Ver
    2003,2007
    Posts
    222

    Re: How can i solve this Time calculation problem

    First of all you have to define a function to hold the min:sec variables

    This should be helpful for you......

    Please Login or Register  to view this content.

  3. #3
    J.wills
    Guest

    Re: How can i solve this Time calculation problem

    Its working thanks for the reply ExlGuru......

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: How can i solve this Time calculation problem

    Removed as unnecesary.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  5. #5
    Valued Forum Contributor mudraker's Avatar
    Join Date
    11-10-2003
    Location
    Melbourne, Australia
    Posts
    3,983

    Re: How can i solve this Time calculation problem

    J.wills

    Your post does not comply with Rule 9 of our Forum RULES. If you solve a problem yourself before anyone else has responded, please take a moment to describe your solution, chances are some other member will benefit. And please never edit a thread in which someone else has responded.

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save
    Please Read Forum Rules Before Posting
    Wrap VBA code by selecting the code and clicking the # icon or Read This
    How To Cross Post politely

    Top Excel links for beginners to Experts

    If you are pleased with a member's answer then use the Scales icon to rate it
    If my reply has assisted or failed to assist you I welcome your Feedback.

+ 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