Of all the calculation tools, we could not find a useful tool to help calculate as diverse and accurate as Excel. Not only simple calculations but complex calculations only need to use functions in Excel to combine together to produce surprisingly accurate results. As simple as calculating the number of days from day to day, if only for 1 month, 1 year you can calculate exactly but when the number of years reaches 5, 10 years, you can not predict the result will have Significant deviations because it covers the leap year, leap month that users can not remember. If you do not use Microsoft Office office suite because it is too expensive, some alternative tools such as WPS Office , Open Office Free is quite useful and the interface does not have many differences, it is a great choice.
Previously when the accounting software was not available, most of us used Excel as a general accounting book with all the information stored from the formula of salary calculation, advance payment, etc. Even now when accounting software has become popular, the Excel spreadsheet tool is still extremely useful for everyone. Below we will show you how to calculate the fastest number of days with Excel to store formulas to perform at any time, just change the address in the date column.
Instructions on how to calculate the number of days in Excel
We will take an example with the image below when you know the day to go, the day you come back, let's calculate the number of days gone by the original data. This is one of the simplest examples that we can apply to Excel's built-in function, DATEDIF.
With this function, besides calculating the number of days, you can calculate the number of weeks, months, and years with the change of the search variable in turn according to the desired results according to the sample formula below.
- Calculate the number of days: = DATEDIF (C2, D2, "d")
- Calculate the week: = DATEDIF (C2, D2, "d") / 7
- Calculate the number of months: = DATEDIF (C2, D2, "m")
- Calculate the number of years: = DATEDIF (C2, D2, "y")
The calculation is quite simple, right? Even if you are not familiar with Excel calculation functions, you can quickly calculate the number of days through our formula above.
Note:
- Remember to format the Date and Arrival columns as dates and the same as the settings when you enter them and the Result column to be General to get the number of days as a count.
- Check the date format in your computer to make sure the format you are choosing on Excel file and computer is consistent.
- Remember to change the date column to go, the date until you apply to your spreadsheet.
Video tutorial on how to calculate the number of days in Excel
Above is a simple way to calculate the number of days in an Excel spreadsheet, hopefully with this tutorial you will help you get the easiest date formula for your work.