Leave balance Carry Forward

uswyne

Board Regular
Joined
Jul 27, 2017
Messages
78
Office Version
  1. 2019
  2. 2016
  3. 2013
  4. 2010
Platform
  1. Windows
[TABLE="width: 500"]
<tbody>[TR]
[TD]Month[/TD]
[TD]Emp #[/TD]
[TD]Opening Casual Leave[/TD]
[TD]Availed Casual Leave[/TD]
[TD]Casual Leave Balance [/TD]
[/TR]
[TR]
[TD]Sep 18[/TD]
[TD]1[/TD]
[TD]05[/TD]
[TD]01[/TD]
[TD]04 =(C1-D1)[/TD]
[/TR]
[TR]
[TD]Sep 18[/TD]
[TD]2[/TD]
[TD]07[/TD]
[TD]02[/TD]
[TD]05 =(C2-D2)[/TD]
[/TR]
[TR]
[TD]Oct 18[/TD]
[TD]1[/TD]
[TD]04 ? auto fill[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Oct 18[/TD]
[TD]2[/TD]
[TD]05 ? auto fill[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

how to opening casual leave auto fill while entering new month payroll?
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
Hello,

You can have the following Array Formula in cell C4

Code:
=INDEX($E$2:$E$10,MATCH(EDATE(A4,-1)&B4,$A$2:$A$10&$B$2:$B$10,0))

Hope this will help
 
Upvote 0
its not working:( looking for any solution.
 
Upvote 0
Its done, i forgot :stickouttounge:to pres Alt+Shift+Enter, Thanks for you help



Hello,

You can have the following Array Formula in cell C4

Code:
=INDEX($E$2:$E$10,MATCH(EDATE(A4,-1)&B4,$A$2:$A$10&$B$2:$B$10,0))

Hope this will help
 
Upvote 0
You are welcome ...

Glad you could fix your problem ...
 
Upvote 0
while I am adding more month i.e. Nov-18, Dec-18, formula does not work.
 
Upvote 0
Hello,

Rather strange ...

Is your actual layout different than the one described in your first message ...?
 
Upvote 0
actually this is payroll tempalte, i am using table in which every month payroll in same sheet. for example i have 10 employee so after every 10 rows there is a new month and it is for a whole year.

Hopefully I can make u understand.

Hello,

Rather strange ...

Is your actual layout different than the one described in your first message ...?
 
Upvote 0
Kindly add Nov and Dec in Coloumn A and Emp # in Column B



actually this is payroll tempalte, i am using table in which every month payroll in same sheet. for example i have 10 employee so after every 10 rows there is a new month and it is for a whole year.

Hopefully I can make u understand.
 
Upvote 0

Forum statistics

Threads
1,223,162
Messages
6,170,431
Members
452,326
Latest member
johnshaji

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