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
MonthEmp #Opening Casual LeaveAvailed Casual LeaveCasual Leave Balance
Sep 181050104 =(C1-D1)
Sep 182070205 =(C2-D2)
Oct 18104 ? auto fill
Oct 18205 ? auto fill

<tbody>
</tbody>

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

Just made a quick test ... which you can see below ... :wink:


Sheet1

ABCDE
1MonthEmp #Opening Casual LeaveAvailed Casual LeaveCasual Leave Balance
2Sep-181514
3Sep-182725
4Oct-181413
5Oct-182514
6Nov-181312
7Nov-182413
8Dec-181211
9Dec-182312

<colgroup><col style="font-weight:bold; width:30px; "><col style="width:100px;"><col style="width:49px;"><col style="width:150px;"><col style="width:148px;"><col style="width:153px;"></colgroup><tbody>
</tbody>

Spreadsheet Formulas
CellFormula
E2=C2-D2
E3=C3-D3
C4{=INDEX($E$2:$E$10,MATCH(EDATE(A4,-1)&B4,$A$2:$A$10&$B$2:$B$10,0))}
E4=C4-D4
C5{=INDEX($E$2:$E$10,MATCH(EDATE(A5,-1)&B5,$A$2:$A$10&$B$2:$B$10,0))}
E5=C5-D5
C6{=INDEX($E$2:$E$10,MATCH(EDATE(A6,-1)&B6,$A$2:$A$10&$B$2:$B$10,0))}
E6=C6-D6
C7{=INDEX($E$2:$E$10,MATCH(EDATE(A7,-1)&B7,$A$2:$A$10&$B$2:$B$10,0))}
E7=C7-D7
C8{=INDEX($E$2:$E$10,MATCH(EDATE(A8,-1)&B8,$A$2:$A$10&$B$2:$B$10,0))}
E8=C8-D8
C9{=INDEX($E$2:$E$10,MATCH(EDATE(A9,-1)&B9,$A$2:$A$10&$B$2:$B$10,0))}
E9=C9-D9

<tbody>
</tbody>
Formula Array:
Produce enclosing
{ } by entering
formula with CTRL+SHIFT+ENTER!

<tbody>
</tbody>


Excel tables to the web >> Excel Jeanie HTML 4
 
Upvote 0

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
i am using the same formula, while checking Trace Precedents in C6, trace shows month of September (A2) rather than month of October (A4).

Hello,

Just made a quick test ... which you can see below ... :wink:


Sheet1

ABCDE
1MonthEmp #Opening Casual LeaveAvailed Casual LeaveCasual Leave Balance
2Sep-181514
3Sep-182725
4Oct-181413
5Oct-182514
6Nov-181312
7Nov-182413
8Dec-181211
9Dec-182312

<tbody>
</tbody>

Spreadsheet Formulas
CellFormula
E2=C2-D2
E3=C3-D3
C4{=INDEX($E$2:$E$10,MATCH(EDATE(A4,-1)&B4,$A$2:$A$10&$B$2:$B$10,0))}
E4=C4-D4
C5{=INDEX($E$2:$E$10,MATCH(EDATE(A5,-1)&B5,$A$2:$A$10&$B$2:$B$10,0))}
E5=C5-D5
C6{=INDEX($E$2:$E$10,MATCH(EDATE(A6,-1)&B6,$A$2:$A$10&$B$2:$B$10,0))}
E6=C6-D6
C7{=INDEX($E$2:$E$10,MATCH(EDATE(A7,-1)&B7,$A$2:$A$10&$B$2:$B$10,0))}
E7=C7-D7
C8{=INDEX($E$2:$E$10,MATCH(EDATE(A8,-1)&B8,$A$2:$A$10&$B$2:$B$10,0))}
E8=C8-D8
C9{=INDEX($E$2:$E$10,MATCH(EDATE(A9,-1)&B9,$A$2:$A$10&$B$2:$B$10,0))}
E9=C9-D9

<tbody>
</tbody>
Formula Array:
Produce enclosing
{ } by entering
formula with CTRL+SHIFT+ENTER!

<tbody>
</tbody>


Excel tables to the web >> Excel Jeanie HTML 4
 
Upvote 0
Hi,

Sadly ... cannot see what is actually in front of your eyes ...

Can only confirm to you the formula functions as expected ...

Have you tried to replicate exactly the example posted in message #11 ...???
 
Upvote 0
Pleased to hear you have managed to fix your problem ... :)
 
Upvote 0
Thanks, can u recommend me any book or resource to learn excel in depth, though this forum is too good.

and sorry to bother u again n again;)

Pleased to hear you have managed to fix your problem ... :)
 
Upvote 0
You are welcome ...

In my opinion, the best is to learn with the BEST :

John Walkenbach

In addition to his great books ... his site is truly fantastic ...!!!

http://spreadsheetpage.com/

Hope you will enjoy ...:)
 
Upvote 0
HI there, can u help me out
Table 1
NameUniformIssue DateDue DateShoeIssue DateDue Date
AAA231-Dec-1831-Dec-18101-Jan-1801-Jan-19
BBB230-Nov-1730-Nov-18131-Dec-1731-Dec-18
CCC225-Nov-1725-Nov-18130-Novv-1730-Nov-18

<tbody>
</tbody>


I need a formula to extract data from table 1 in to table given below.

ABCD
Nov-18Dec-18Jan-19
Uniform02 (?)01 (?)00 (?)
Shoes01 (?)01 (?)01 (?)

<tbody>
</tbody>



You are welcome ...

In my opinion, the best is to learn with the BEST :

John Walkenbach

In addition to his great books ... his site is truly fantastic ...!!!

http://spreadsheetpage.com/

Hope you will enjoy ...:)
 
Upvote 0

Forum statistics

Threads
1,216,110
Messages
6,128,892
Members
449,477
Latest member
panjongshing

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