Click here to Skip to main content
15,886,745 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I am calculating an approximate retirement date for an employee database using excel VBA. I have the date of birth for each individual employee and the number of fees they have paid. In order for them to retire, they must fulfill two criteria (age, and fees). the problem is that for different ages starting at 55 years and 1 month up until 65 years there is a different fee criterion (ex: 55 years 1 month, you need 375 fees paid). I wanted to create a formula that will calculate for me the earliest retirement date of the employee if theoretically, they were to pay 1 fee in the upcoming months.

What I have tried:

Honestly, I have not tried much. I was lost and im not sure where to start
Posted
Updated 27-Jun-22 22:05pm
Comments
Richard Deeming 28-Jun-22 3:49am    
Start by writing down the precise rules and requirements. Then work out the formula on paper. Then transfer it to Excel.

Nobody here can do that for you, because we have no idea what your criteria are, what you have tried, or where you are stuck.

1 solution

While we are more than willing to help those that are stuck, that doesn't mean that we are here to do it all for you! We can't do all the work, you are either getting paid for this, or it's part of your grades and it wouldn't be at all fair for us to do it all for you.

So we need you to do the work, and we will help you when you get stuck. That doesn't mean we will give you a step by step solution you can hand in!
Start by explaining where you are at the moment, and what the next step in the process is. Then tell us what you have tried to get that next step working, and what happened when you did.

If you are having problems getting started at all, then this may help: How to Write Code to Solve a Problem, A Beginner's Guide[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900