Home  >  Article  >  Topics  >  How to automatically calculate days in excel table

How to automatically calculate days in excel table

醉折花枝作酒筹
醉折花枝作酒筹Original
2021-04-30 10:28:5344735browse

Method: First open the excel table, enter the start date and end date in the cell, select the specified cell; then enter the formula "=datedif(start date, end date, "comparison unit") in the cell )"; finally press the "Enter key" on the keyboard.

How to automatically calculate days in excel table

The operating environment of this tutorial: Windows 7 system, WPS Office 2016 version, Dell G3 computer.

After opening the table, enter a start date and an end date in the cells, and then calculate the total number of days in the subsequent days cell.

How to automatically calculate days in excel table

Next, enter a DATEDIF function in the cell, that is, =DATEDIF().

How to automatically calculate days in excel table

Then enter the following content in the brackets of the function, as shown in the picture.

How to automatically calculate days in excel table

After completing the input, press the Enter key on the keyboard.

How to automatically calculate days in excel table

After pressing the Enter key, you can see that the number of days is automatically calculated in the cell where the formula is entered.

How to automatically calculate days in excel table

Related learning recommendations: excel tutorial

The above is the detailed content of How to automatically calculate days in excel table. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn