How does Excel use the text function to calculate the time difference between two dates?

Source: Internet
Author: User

How does Excel use the text function to calculate the time difference between two dates?

1. Create a new blank form first, rename "Calculate the time of two days";

2, open the form to enter the corresponding category title, such as "name, travel time, return time, travel long";

3, in the "name, travel time, return time" category to fill in the corresponding content;

4, in the "D3" cell input Formula "=text (C3-B3," [H]:mm:ss ")", will show the difference of time;

5, select the "D3" cell, when the cursor into the "Ten" character, drag down the copy;

6, Function Description: Use the return time minus travel time, get two different time of time, with the text function set out the time display format, where h represents the hour, m for minutes, s for seconds;

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.