Need Help in Dates

Santosh080

Board Regular
Joined
Jul 15, 2016
Messages
77
Office Version
  1. 2021
Platform
  1. Windows
Hello Friends,

I have a excel data like below,

DateDebitCredit
12-02-20119,101.00
31-12-201165,000.00
18-01-20122,000.00
24-02-20128,400.00
02-03-20124,400.00
30-03-20125,000.00
08-10-20125,000.00
03-12-20125,000.00
24-01-201319,372.00
16-05-201315,000.00
06-06-201310,000.00
02-07-201316,000.00
12-08-201313,000.00
09-12-20134,000.00
23-01-201418,870.00
28-01-20147,000.00
03-03-20148,000.00


Here i want this type result,
DatesDebitCredit
12-02-201191010
28-02-201100
31-03-201100
30-04-201100
31-05-201100
30-06-201100
31-07-201100
31-08-201100
30-09-201100
31-10-201100
30-09-201100
31-10-201100
30-11-201100
31-12-2011065000
18-01-201202000
31-01-201200
24-02-201208400
29-02-201200
02-03-201204400
30-03-201205000
31-03-201200
30-04-201200
31-05-201200
30-06-201200
31-07-201200
31-08-201200
30-09-201200
08-10-201205000
31-10-201200
30-11-201200
03-12-201205000
31-12-201200
24-01-2013193720
31-01-201300
28-02-201300
31-03-201300
30-04-201300
16-05-2013015000
31-05-201300
06-06-2013010000
30-06-201300
02-07-2013016000
31-07-201300
12-08-2013013000
31-08-201300
30-09-201300
31-10-201300
30-11-201300
09-12-201304000
31-12-201300
23-01-2014188700
28-01-201407000
31-01-201400
28-02-201400
03-03-201408000




I want to put each month end date between dates. Can it possible withour VBA?

Thanks
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
Did you copy paste the formula or type it in?
 
Upvote 0
Try copying the entire sheet using the copy icon
Copy icon.png
 
Upvote 0
Try doing it with the mini sheet I posted.
 
Upvote 0
after pasting it look like this,

DateDebitCredit
405869101=LET(a,A2:A18,r,ROWS(a),l,CEILING(YEARFRAC(A2,MAX(a))*12,1),em,EOMONTH(A2,SEQUENCE(l+r,,0)),s,SEQUENCE(l+r),SORT(UNIQUE(IF(s<=r,a,INDEX(em,s-r)))))=SUMIFS(B:B,$A:$A,$F2#)=SUMIFS(C:C,$A:$A,$F2#)
4090865000
409262000
409638400
409704400
409985000
411905000
412465000
4129819372
4141015000
4143110000
4145716000
4149813000
416174000
4166218870
416677000
417018000
 
Upvote 0

Forum statistics

Threads
1,223,908
Messages
6,175,306
Members
452,633
Latest member
DougMo

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.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

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

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

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
Back
Top