+ Reply to Thread
Results 1 to 3 of 3

Salary Calculation Between two dates

  1. #1
    Registered User
    Join Date
    06-20-2015
    Location
    Delhi
    MS-Off Ver
    2007
    Posts
    2

    Salary Calculation Between two dates

    Hey All,
    Nice to see you in a excel forum.
    I have a problem for salary calculation between two dates e.g logic 1 and logic 2 listed there.
    When tried to calculate manual (Logic 1 ) it is seems fine but when tried to calculation from logic 2 get different amount 1797.
    Can somebody let me know where is the mistake or or can create new formula for it..

    Note: logic 1 is correct but we need to calculation as per logic 2.


    Logic 1
    Manual Days calculation
    Start date End Date Salary Montly days Formula Prorata salary
    24-Mar-17 31-Mar-17 49,500 8 =E9/31*F9 12774
    Manual 12 Months calculation
    Start date End Date Salary Montly Months Formula Prorata salary
    1-Apr-17 31-Mar-18 49,500 12 =E14*F14 594000

    Total days+Montsh 606774


    Logic 2
    Start date End Date Months Salary Montly Formula Prorata salary
    24-Mar-17 31-Mar-18 12.22 49,500 =F2*E2 604,977
    Total 604,977
    Different Logic 1 Vs Logic 2 1,797

    Months calculation formula
    =(DATE(YEAR(C17),MONTH(C17),DAY(C17))-DATE(YEAR(B17),MONTH(B17),DAY(B17)))/(365.25/12)


    Thank you now file attached
    Attached Files Attached Files
    Last edited by Shanu Singh; 05-15-2017 at 12:54 PM. Reason: Missing Attachment

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,893

    Re: Salary Calculation Between two dates

    Will you please attach a SMALL sample Excel workbook (10-20 rows of data is usually enough)? Please don't attach a picture of one (no-one will want to re-type all your stuff before starting).

    1. Make sure that your sample data are truly REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired solution is also shown (mock up the results manually).

    3. Make sure that all confidential information is removed first!!

    4. Try to avoid using merged cells. They cause lots of problems!

    Unfortunately the attachment icon doesn't work at the moment. So, to attach an Excel file you have to do the following: Just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Registered User
    Join Date
    06-20-2015
    Location
    Delhi
    MS-Off Ver
    2007
    Posts
    2

    Re: Salary Calculation Between two dates

    Hi Glenn, Thank you for advising now file attached.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Salary calculation problem
    By malarvel in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-14-2016, 01:57 AM
  2. [SOLVED] Salary Calculation Question
    By Blu3 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-14-2016, 05:05 AM
  3. Help in Calculation Salary
    By AVG123 in forum Excel General
    Replies: 12
    Last Post: 09-19-2015, 08:45 AM
  4. [SOLVED] Employee salary calculation help!
    By mhweiler in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 05-21-2015, 10:05 PM
  5. [SOLVED] Salary calculation by joining date
    By Thet4444 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 02-17-2014, 04:35 AM
  6. salary calculation
    By tariqnaz2005 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 10-01-2013, 03:06 PM
  7. [SOLVED] How can I do an hourly salary calculation in Excel
    By AndyM in forum Excel General
    Replies: 2
    Last Post: 09-15-2005, 01:05 AM

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