Home  >  Article  >  Topics  >  How to use the formula to calculate length of service in excel

How to use the formula to calculate length of service in excel

藏色散人
藏色散人Original
2020-03-29 09:19:0123893browse

How to use the formula to calculate length of service in excel

How to use the formula to calculate length of service in excel

1. First, we open the excel software on the computer and open a to To calculate the length of service table, enter the formula "=YEAR()" in the cell.

Recommended: "excel tutorial"

How to use the formula to calculate length of service in excel

2. Then we enter "TODAY()" in the brackets .

How to use the formula to calculate length of service in excel

3. Then we continue to enter the formula "-YEAR(B2)". The complete formula is "=YEAR(TODAY())-YEAR(B2)".

How to use the formula to calculate length of service in excel

#4. After entering the formula, press the Enter key.

How to use the formula to calculate length of service in excel

#5. Then just drop down and fill in.

How to use the formula to calculate length of service in excel

6. We can also enter the formula "=DAYS360(B2," in the cell.

How to use the formula to calculate length of service in excel

7 , continue to enter the formula "TODAY(),0)/365", the complete formula: =DAYS360(B2,TODAY(),0)/365.

How to use the formula to calculate length of service in excel

#8. Press the Enter key after typing.

How to use the formula to calculate length of service in excel

#9. Just drop down and fill in.

How to use the formula to calculate length of service in excel

The above is the detailed content of How to use the formula to calculate length of service in excel. 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