# Summarizing date table to monthly closing

#### pakdin

##### New Member
I have a table with four columns (ID, Date Taken, Date Return, Amount). The Date Taken & Date Return column only closed yearly.
 ID Name Date taken Date returned X1 XX 16/11/2017 31/12/2017 X2 YY 1/1/2018 15/5/2018

<tbody>
</tbody>

From that table, I need to derive number of days for each ID & Name by monthly basis. The table is like below:
 Start Date End Date 1/1/2017 31/1/2017 31/1/2017 28/2/2017 28/2/2017 31/3/2017

<tbody>
</tbody>

I could derived the monthly basis table by only single line item. If i want to incorporate the second column, i need to manually add the initial formula. I use IF function.

### Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a \$25,000 loan, 5% annual interest, 60 month loan.

#### Panda514

##### New Member
Hello,

Will you explain how the Start Date and End Date correlate with the Data Taken and Date Returned? For example, I'm not sure how the Date Taken of 16/11/2017 make a start date of 1/1/2017.

Replies
1
Views
180
Replies
3
Views
473
Replies
20
Views
471
Replies
2
Views
301
Replies
7
Views
420

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

1,163,487
Messages
5,831,988
Members
430,100
Latest member
namhnz

### We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.

### Which adblocker are you using?

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

### Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

### Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back