+ Reply to Thread
Results 1 to 5 of 5

IF formula help - to add dates to each other to get longest difference?

  1. #1
    Registered User
    Join Date
    05-17-2011
    Location
    lincoln, england
    MS-Off Ver
    Excel 2003
    Posts
    3

    IF formula help - to add dates to each other to get longest difference?

    Hi guys, I am no excel expert, only to A Level standard and am really struggling to figure out a formula or macro. I need to work out the length of notice to give to employees that are being dismissed by comparing 2 sets of criteria and working out which would be more beneficial to the employee, if that makes sense? (I am assuming the formula will be really complicated!)

    I need to work out what the employees last working day will be.
    Say we dismiss on 23rd May
    + 2 days (for postage of letters)
    + extra notice. This is worked out comparing the employees length of continuous service versus grade/salary. The formula needs to compare the two and work out which is most beneficial to the employeee.
    1 years employment = 1 weeks notice
    12 years employment = 12 weeks notice (no matter what grade)
    grade 6 and below = 4 weeks notice
    grade 7-11 = 8 weeks notice
    grade 12+ = 12 weeks notice
    The formula needs to work which would give the employee a longer notice period then add the notice required to the dismissal date (23rd may) and calculate the employees last working day.

    For example if i had to dismiss an employee on 23rd May and they had worked for 2 years on grade 6 they would get 2 days plus 4 working weeks, so their last day would be 22 June.
    But if they had worked for 12 years on grade 6 they would get 12 weeks notice plus the 2 extra days.

    Please see the attached spreadsheet for an anonymised sample.
    Any help would be really appreciated as I can't seem to get the formula to work!

    Thank you! :-D
    Attached Files Attached Files
    Last edited by pearce10; 05-23-2011 at 10:50 AM.

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: Is the solution easier than it seems..?

    Hi pearce10, wellcome to the forum...

    Please, rename your title according to the rules:

    1. Use concise, accurate thread titles. Your post title should describe your problem, not your anticipated solution. Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.

    To change the title of the thread, click EDIT on the original post, then click the Go Advanced button, then change the title. If two or more hours have passed, the EDIT button will not appear, and you need to ask a moderator to change the title.

  3. #3
    Registered User
    Join Date
    05-17-2011
    Location
    lincoln, england
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Formula / Macro to compare two columns and add dates

    Title all changed

  4. #4
    Registered User
    Join Date
    05-17-2011
    Location
    lincoln, england
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: IF formula help - to add dates to each other to get longest difference?

    Bump




    !

  5. #5
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: IF formula help - to add dates to each other to get longest difference?

    I think the lack of response is an indication that a small sample file (without personal data) is required. Include examples of expected results.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1