Excel - delay automatic completion

  cotom 21:29 22 Oct 2004

I am preparing some calculations within a spreadsheet for staff personnel records. What I need is for a formula to take the date of commencement of post and depending on length of service update the annual leave entitlement, eg. if the person reaches 10 yrs they will more from 27 days to 30 days. This I can acheive myself through the 'IF'logical test. However, here is my problem, the new entitlement doesn't start until the 1st January of the year after the person has reached the service level, not the exact point where they reach it. So how do I get the formula to update the record perhaps months after the person reaches the entitlement indicated by the formula? eg 10 years are reached in July '04 but the new entitlement doesn't start until Jan 1st '05!

I wondered about a Macro but wasn't sure how to go about that, if that even is the solution. Turning off the auto-update until Jan each year is no good as it would affect other formulas as well. Any help?

  VoG II 22:09 22 Oct 2004

Please can you post your existing formula.

  cotom 22:48 22 Oct 2004



AG is the start date column

  VoG II 23:22 22 Oct 2004

You need to set one or more of the parts of your formula to


I have two confessions to make (1) I am useless with Excel and dates and (2) I had to ask on another forum to come up with that.

  cotom 11:07 23 Oct 2004


Thanks for the response. I've had to learn Excel as I go along so my formulas may not be the cleverest at times. If I follow it, it adds one year to the current date and the '1,1' at the end makes it Jan 1st. Am I correct?
Sorry to be a pain, but how would I incorporate this into my formula to make it work for all of the sections. I appreciate that you suggested that Excel dates werent your thing, but I am very much an amateur.

This is one way to achieve what you require in that the inspection is only looking at the year element of the 2 dates, and by increasing your check figures by one each time then the change can not take place until the 1 Jan in each case



A slightly different approach is to put part of the formula in to a cell, I have used A1 and in A1 I have put "=Year(Today())" without the quotes, you can then place the following formula in B12 and copy as appropriate.


Get back if you require further help.

  cotom 18:11 24 Oct 2004

Thanks Whisperer,I've tried the first version you suggest and it seems to work well.


This thread is now locked and can not be replied to.

Elsewhere on IDG sites

Xiaomi Mi Mix 2 review

What went wrong at the Designs of the Year 2017

iPhone X news: Release date, price, new features & specs

Comment regarder des séries et talk-shows américains en France ?