Leave Balance report

ambz123

Board Regular
Joined
Aug 27, 2020
Messages
53
Office Version
  1. 2019
Platform
  1. Windows
Hi,

I am task to create a leave balance report. I would like to ask how do i linkup using data validation to show the used leave and balance leave in the list below. Is there any way whereby i can select from the dropped down list, for example when i selected "USED" the data below will show only the used leave. And when i selected "BALANCED" it will only show balance leave.

1599971643112.png


Appreciate help on that.

Thank you.
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
see if you can work something out from this example

Book1
ABCDEFG
1EntitedUsedBalanceDisplayBalance
2Name1716Name16
3Name2725Name25
4Name314311Name311
5Name414410Name410
6Name51459Name59
Sheet1
Cell Formulas
RangeFormula
D2:D6D2=B2-C2
G2:G6G2=INDEX($B$2:$D$6,MATCH(F2,$A$2:$A$6,0),MATCH($G$1,$B$1:$D$1,0))
Cells with Data Validation
CellAllowCriteria
G1List=$B$1:$D$1
 
Upvote 0
Hi Alan, thanks for the suggestion. As i have more than 1 type of leave, is there any other alternative ways for me to show the "Used" or "balanced" leave?

1600068844063.png
 
Upvote 0
you can extend the table like this

Book1
ABCDEFGHIJKLM
1Entited1Entited2Entited3Used1Used2Used3Balance1Balance2Balance3DisplayBalance2
2Name1765123642Name14
3Name2765234531Name23
4Name31413123451197Name39
5Name41413124561086Name48
6Name5141312567975Name57
Sheet1
Cell Formulas
RangeFormula
M2:M6M2=INDEX($B$2:$J$6,MATCH(L2,$A$2:$A$6,0),MATCH($M$1,$B$1:$J$1,0))
Cells with Data Validation
CellAllowCriteria
M1List=$B$1:$J$1
 
Upvote 0
Okay. Which means my drop down list will have

Entitled 1
Entitled 2
Entitled 3
and so on?
 
Upvote 0

Forum statistics

Threads
1,214,421
Messages
6,119,392
Members
448,891
Latest member
tpierce

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