Thanks for help with this problem:
I am building a staff salary forecast for the next 5 years, annually.
I have a Start Date, an End Date, and then the Year End dates for each of the 5 years I am forecasting. I also have the Annual Salary.
I need a formula that helps me a) calculate Part salary in a year where an employee joins during the year. I have figured that out using the DATEDIF formula. So I can calculate the amount of time for the year a person works.
What I am not able to figure out, is what formula do I add to say "if the person is working during this financial year THEN insert their salary for the year". Meaning, what if a person leaves (End Date) half way through a year OR a person works full time for the 5 year period?
Also in my table, I do not have End Dates for employees at present because no one has left yet but I want to build it that if/when someone leaves, I can calculate their Part Salary for that year in which they leave. So the only inputs I have are a Start Date and then my 5 financial years and their salary amount?
Can anyone please help me figure out these situations (to account for someone leaving in next 5 years so only working a part year) AND to recognise a normal full years salary in the full years between the start and end year?
Bookmarks