+ Reply to Thread
Results 1 to 2 of 2

Date and time calculations and automatic date changes

  1. #1
    Registered User
    Join Date
    12-09-2006
    Posts
    1

    Question Date and time calculations and automatic date changes

    Dear Readers,

    I would greatly appreciate any assistance you can provide.

    I must prepare a spreadsheet at work calculating salary amounts for the fiscal year (July 1, 2007 - June 30, 2008) that include salary amounts from two annual merit increase dates as follows:

    Employee: Jane Doe

    Annual Merit Increase Dates Fiscal Year Dates
    4/1/2007 - 3/31/2008 $100,000 7/1/2007 - 3/31/2008 9 mos $75,000
    4/1/2008 - 3/31/2009 $105,000 4/1/2008 - 6/30/2008 3 mos $26,250
    Total FY salary $101,250

    Please let me know how excel can automatically calculate the dates to show the number of months or pay periods (24 semi-monthly) and how much of each yearly merit increase amount to be paid in the fiscal year period?

    I would also like to know if there is a formula for automatically updating the annual dates without changing them manually?

    Thanks so much for your help!

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Hi,

    Can you post an example of the columns as your example is a little confusing e.g

    You have more data then headings

    Are the dates in one cell. e.g 4/1/2007 - 3/31/2008

    How or when does the dates update is it based on today's date or does a user press a button to run a macro.

    You can work out the months with =DATEDIF(A1,B1,"M")/ In your example you Say July to March is 9 months. Surely it is 8.

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

+ 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