• Skip to main content
  • Skip to header right navigation
  • Skip to site footer

My Online Training Hub

Learn Dashboards, Excel, Power BI, Power Query, Power Pivot

  • Courses
  • Pricing
    • Free Courses
    • Power BI Course
    • Excel Power Query Course
    • Power Pivot and DAX Course
    • Excel Dashboard Course
    • Excel PivotTable Course – Quick Start
    • Advanced Excel Formulas Course
    • Excel Expert Advanced Excel Training
    • Excel Tables Course
    • Excel, Word, Outlook
    • Financial Modelling Course
    • Excel PivotTable Course
    • Excel for Customer Service Professionals
    • Excel for Operations Management Course
    • Excel for Decision Making Under Uncertainty Course
    • Excel for Finance Course
    • Excel Analysis ToolPak Course
    • Multi-User Pricing
  • Resources
    • Free Downloads
    • Excel Functions Explained
    • Excel Formulas
    • Excel Add-ins
    • IF Function
      • Excel IF Statement Explained
      • Excel IF AND OR Functions
      • IF Formula Builder
    • Time & Dates in Excel
      • Excel Date & Time
      • Calculating Time in Excel
      • Excel Time Calculation Tricks
      • Excel Date and Time Formatting
    • Excel Keyboard Shortcuts
    • Excel Custom Number Format Guide
    • Pivot Tables Guide
    • VLOOKUP Guide
    • ALT Codes
    • Excel VBA & Macros
    • Excel User Forms
    • VBA String Functions
  • Members
    • Login
    • Password Reset
  • Blog
  • Excel Webinars
  • Excel Forum
    • Register as Forum Member

Employee Service Milestones and Vacation Entitlement|General Excel Questions & Answers|Excel Forum|My Online Training Hub

You are here: Home / Employee Service Milestones and Vacation Entitlement|General Excel Questions & Answers|Excel Forum|My Online Training Hub
Avatar
sp_LogInOut Log In sp_Registration Register
sp_Search Search
Advanced Search|Last Search Results
Search
Forum Scope




Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
sp_Search Search
sp_RankInfo
Lost password?
sp_CrumbsHome HomeExcel ForumGeneral Excel Questions & Answe…Employee Service Milestones and Vac…
sp_PrintTopic sp_TopicIcon
Employee Service Milestones and Vacation Entitlement
Avatar
AM
Member
Members

Power Query

Word
Level 0
Forum Posts: 8
Member Since:
May 3, 2019
sp_UserOfflineSmall Offline
1
March 20, 2021 - 3:33 am
sp_Permalink sp_Print sp_EditHistory

Hello,

I need to identify those employees who will be reaching a service milestone (5, 10 and 20 yrs.) in my organization's upcoming fiscal year (April 1, 2021 - March 31, 2022). I have used the Datedif function to calculate the years of service in the upcoming time timeframe but now need to determine what the employee's new vacation entitlement will be based on any service milestone reached in this upcoming fiscal. Would index and match be the best function to use?

For those employees not reaching one of these service milestones, vacation entitlement is calculated based on their job classification. 

Attached is the file.

I am using Microsoft Office for Enterprise 365.

Thank you.

Anne

Avatar
Anders Sehlstedt
Eskilstuna, Sweden

VIP
Members


Trusted Members
Level 3
Forum Posts: 870
Member Since:
December 7, 2016
sp_UserOfflineSmall Offline
2
March 22, 2021 - 7:23 am
sp_Permalink sp_Print

Hello,

See attached for an example. I had to change your data a bit, nothing major.
Hope this helps you forward.

Br,
Anders

Avatar
AM
Member
Members

Power Query

Word
Level 0
Forum Posts: 8
Member Since:
May 3, 2019
sp_UserOfflineSmall Offline
3
March 23, 2021 - 9:23 am
sp_Permalink sp_Print sp_EditHistory

Hello,
Some new information has been brought to my attention. Some employees current vacation entitlement banks exceed the hours per those parameters as outlined on the 'Vacation Entitlement' tab. The way I have it structured now, were I too upload this file as is I would be reducing vacation hours to less than what they currently have for a few select employees who have vacation allotments outside the norms. That is outside parameters for their job category or years of service. How do I add this condition in one formula/step/cell.
Thank you.

Avatar
Anders Sehlstedt
Eskilstuna, Sweden

VIP
Members


Trusted Members
Level 3
Forum Posts: 870
Member Since:
December 7, 2016
sp_UserOfflineSmall Offline
4
March 24, 2021 - 9:04 pm
sp_Permalink sp_Print

Hello,

Have not checked your latest file. A suggestion: If you have these persons listed in a separete table then you can simply add a new IF statement where you check if the person is listed in that table and if true you take the vacation hours from that table, if false you go with the already answered solution.

Br,
Anders

Avatar
AM
Member
Members

Power Query

Word
Level 0
Forum Posts: 8
Member Since:
May 3, 2019
sp_UserOfflineSmall Offline
5
April 1, 2021 - 3:42 am
sp_Permalink sp_Print

Hello,

More information/learning of how vacation accruals are calculated for the next fiscal have come about. Things have got a whole lot more complicated!

Adding to my information above:

  • employees reaching service milestones of 5, 10 and 20 years in next year's fiscal (April 1, 2021 - March 31, 2022) get hours per the vacation entitlement chart based on their job category (new category of management for levels 3 and 4). This wasn't captured in my prior examples. This is another criteria I have to account for.
  • the next criteria is at what point in the month they joined the org ("Seniority Start Date" column). This only applies to employees reaching a service milestone. If they joined between the 1st and the 15th of the month they get credit (accrue) 1 full month of vacation. If they joined between the 16th and the 31st of the month they get a 1/2 month of accrual.
  • all other non-milestone reaching employees get hours based on their job category
  • the 4th and final layer complicating all this is, is that existing hours ("current entitlement") may trump all of the above as they are already at the max/above the usual guidelines for their job category which is why you'll see I have the max formula in there from a previous response.

Given the multiple conditions/criteria is it possible to complete all the above with 1 formula in one cell? Would Index and Match work best? Or if and?

Thank you.

Avatar
Anders Sehlstedt
Eskilstuna, Sweden

VIP
Members


Trusted Members
Level 3
Forum Posts: 870
Member Since:
December 7, 2016
sp_UserOfflineSmall Offline
6
April 2, 2021 - 10:06 pm
sp_Permalink sp_Print

Hello,

Just asking myself why it is so hard to keep things simple. Wink

Did not fully understand the accrual part, how much is full month and so forth, so I used 10% for full month and 5% for half month. You can change that part, the concept is there and it works.

Notice also I hade to alter your data again, this time I kept the word " year" in Years of Service column (D) and added the same in the lookup lists. You can't compare text against number, it needs to be the same data type.

I have used the new LET function. You should have it on your version by now.

See attached file, column H for example.

=LET(
ServiceMilestone,IF(OR($C3="Mgt - 3-Mgt - 3",$C3="Mgt - 4-Mgt - 4"),VLOOKUP($D3,'Vacation Entitlement'!$A$9:$B$11,2,0),VLOOKUP($D3,'Vacation Entitlement'!$A$3:$B$5,2,0)),
JobCategory,VLOOKUP($C3,'Vacation Entitlement'!$E$6:$F$22,2,0),
JoinDay,DAY($A3),
AccrualServiceMilestone,IF(JoinDay<=15,ServiceMilestone*1.1,ServiceMilestone*1.05),
MAX($B3,IFNA(AccrualServiceMilestone,JobCategory))
)

Hope this works for you and that you get no more new information about this! Laugh

Br,
Anders

sp_Feed
Go to top
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: Alan Sidman, Rebecca Berneck, Emma Klonowski, Marco Marques, Natasha Smith
Guest(s) 11
Currently Browsing this Page:
1 Guest(s)
Top Posters:
SunnyKow: 1432
Anders Sehlstedt: 870
Purfleet: 412
Frans Visser: 346
David_Ng: 306
lea cohen: 219
A.Maurizio: 202
Jessica Stewart: 202
Aye Mu: 201
jaryszek: 183
Newest Members:
vexokeb sdfg
John Jack
Malcolm Toy
Ray-Yu Yang
George Shihadeh
Naomi Rumble
Uwe von Gostomski
Jonathan Jones
drsven
Annie Witbrod
Forum Stats:
Groups: 3
Forums: 24
Topics: 6212
Posts: 27236

 

Member Stats:
Guest Posters: 49
Members: 31888
Moderators: 3
Admins: 4
Administrators: Mynda Treacy, Philip Treacy, Catalin Bombea, FT
Moderators: MOTH Support, Velouria, Riny van Eekelen
© Simple:Press —sp_Information

Sidebar

Blog Categories

  • Excel
  • Excel Charts
  • Excel Dashboard
  • Excel Formulas
  • Excel PivotTables
  • Excel Shortcuts
  • Excel VBA
  • General Tips
  • Online Training
  • Outlook
  • Power Apps
  • Power Automate
  • Power BI
  • Power Pivot
  • Power Query
microsoft mvp logo
trustpilot excellent rating
Secured by Sucuri Badge
MyOnlineTrainingHub on YouTube Mynda Treacy on Linked In Mynda Treacy on Instagram Mynda Treacy on Twitter Mynda Treacy on Pinterest MyOnlineTrainingHub on Facebook
 

Company

  • About My Online Training Hub
  • Disclosure Statement
  • Frequently Asked Questions
  • Guarantee
  • Privacy Policy
  • Terms & Conditions
  • Testimonials
  • Become an Affiliate

Support

  • Contact
  • Forum
  • Helpdesk - For Technical Issues

Copyright © 2023 · My Online Training Hub · All Rights Reserved. Microsoft and the Microsoft Office logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries. Product names, logos, brands, and other trademarks featured or referred to within this website are the property of their respective trademark holders.