" I have a table with dates and the accrual I need some data to the right of the date I displayed the number of days in the month of that date Any simple solution? "
Of course no problemo . Take the example of departure:
The solution is simple using the DIA functions and EOMONTH . In particular we will be nested within the function EOMONTH DIA. We follow the following steps:
1. In cell C3 enter the following formula:
= EOMONTH (B3, 0)
EOMONTH function takes two arguments: Start_date and Months. Start_date is the serial number that represents the start date; Months is the number of months before or after Start_date . In our case the starting date is the date in question that interests us and, therefore, necessary to add zero months. Thus the formula calculated indicated the last day of cell B3. If this formula now nested within the function DIA (which returns the number of days a particular date) and have the number of days of the date in question.
2. In cell C3 added to the formula that had the function DIA. It should be as follows:
= DAY (EOMONTH (B3, 0))
3. We are located at the bottom right of the cell C3 and double click (Smart Copy) to fill the remaining cells. The result will be searched: