+ Reply to Thread
Results 1 to 13 of 13

Help in Calculation Salary

  1. #1
    Forum Contributor
    Join Date
    02-17-2014
    Location
    INDIA
    MS-Off Ver
    Excel 2010
    Posts
    320

    Exclamation Help in Calculation Salary

    Dear friends..........I have a problem in my spreadsheet......I want to calculate the salary of employee

    I have three Columns (1) Col. b7 (Date of joining "25.01.2007") (2)Col. C7 (Last working month of the employee "31.12.2008") (3) Col. D7 (Salary "7000")

    (1) If a employee Joined the Duty in the mid of a month e.g. 25.01.2007 then salary should be calculate for particular month (25.01.2007 to 31.01.2007 i.e. workout the 7 days of January 2007 (7000*7/31=1580.64, 1581.00) result should be in B11

    (2) unfortunately the next year i.e. December 2008 is the last month of that employee then calculate the salary month by month till December 2008.......... result should be in A34

    if employee working for Four Years then Leapyear is a factor.......I want a formula which consider leapyear also

    please friends help me

    Thanks in advance
    Last edited by AVG123; 09-19-2015 at 07:47 AM.

  2. #2
    Forum Contributor
    Join Date
    02-17-2014
    Location
    INDIA
    MS-Off Ver
    Excel 2010
    Posts
    320

    Exclamation Re: Help in Calculation Salary

    Here the sample sheet
    Attached Files Attached Files
    Last edited by AVG123; 09-19-2015 at 07:35 AM.

  3. #3
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Help in Calculation Salary

    see the attached file date format was changed in b7 and c7 and used below formula
    A11=IF(EOMONTH($B$7,ROWS($A$11:$A11)-1)>EOMONTH($C$7,0),"",EOMONTH($B$7,ROWS($A$11:$A11)-1))
    Please Login or Register  to view this content.
    B11=IFERROR(MAX(MIN((A11-B$7)+1,DAY(A11),(C$7-B$7)+1,C$7-EOMONTH(A11,-1)),0)*D$7/DAY(A11),"")
    Please Login or Register  to view this content.
    COPY TOWARDS DOWN
    SEE ATTACHED FILE
    Attached Files Attached Files
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  4. #4
    Forum Contributor
    Join Date
    02-17-2014
    Location
    INDIA
    MS-Off Ver
    Excel 2010
    Posts
    320

    Re: Help in Calculation Salary

    It is working good but I want format according to my sheet.....I want only one formula put on c11 and auto sense the month is starting from 01 or 25 then auto calculate the salary............I don't want one more formula in A11.........my all dates start with 01.01.2007, if my joining date is 25.01.2007 then it auto calculate the salary of 7 days...........

    Again Thanks for your work...........

    Quote Originally Posted by nflsales View Post
    see the attached file date format was changed in b7 and c7 and used below formula
    A11=IF(EOMONTH($B$7,ROWS($A$11:$A11)-1)>EOMONTH($C$7,0),"",EOMONTH($B$7,ROWS($A$11:$A11)-1))
    Please Login or Register  to view this content.
    B11=IFERROR(MAX(MIN((A11-B$7)+1,DAY(A11),(C$7-B$7)+1,C$7-EOMONTH(A11,-1)),0)*D$7/DAY(A11),"")
    Please Login or Register  to view this content.
    COPY TOWARDS DOWN
    SEE ATTACHED FILE

  5. #5
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Help in Calculation Salary

    ok, will you change the date format as dd/mmm/yy (dates in your sheet not recognizing in my system)

  6. #6
    Forum Contributor
    Join Date
    02-17-2014
    Location
    INDIA
    MS-Off Ver
    Excel 2010
    Posts
    320

    Re: Help in Calculation Salary

    My dates is in DD-MM-YYYY sir.................

  7. #7
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Help in Calculation Salary

    b7=25.01.2007
    c7=31.12.2008

  8. #8
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Help in Calculation Salary

    a11 on wards dates are recognising

  9. #9
    Forum Contributor
    Join Date
    02-17-2014
    Location
    INDIA
    MS-Off Ver
    Excel 2010
    Posts
    320

    Re: Help in Calculation Salary

    can you upload my sample file with correction............I don't want any formula on A11 onwards

  10. #10
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Help in Calculation Salary

    see the attached file
    Attached Files Attached Files

  11. #11
    Forum Contributor
    Join Date
    02-17-2014
    Location
    INDIA
    MS-Off Ver
    Excel 2010
    Posts
    320

    Re: Help in Calculation Salary

    Sir Hatsoff to you........."Tussi Great Ho" Excellent Reply
    Quote Originally Posted by nflsales View Post
    see the attached file

  12. #12
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Help in Calculation Salary

    Thanks for your feedback

    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved) If you are satisfied

  13. #13
    Forum Contributor
    Join Date
    02-17-2014
    Location
    INDIA
    MS-Off Ver
    Excel 2010
    Posts
    320

    Re: Help in Calculation Salary

    but is hard to understand for me...........how you do it can you explain it please
    Quote Originally Posted by nflsales View Post
    Thanks for your feedback

    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved) If you are satisfied

+ 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. Provident fund calculation for salary computation
    By jvlkerala in forum Excel General
    Replies: 4
    Last Post: 06-25-2018, 11:13 AM
  2. [SOLVED] Employee salary calculation help!
    By mhweiler in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 05-21-2015, 10:05 PM
  3. [SOLVED] Salary calculation by joining date
    By Thet4444 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 02-17-2014, 04:35 AM
  4. salary calculation
    By tariqnaz2005 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 10-01-2013, 03:06 PM
  5. Salary Calculation get information from sheet1 to sheet2
    By Dr.SUN in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-05-2010, 04:14 AM
  6. time shift and salary calculation
    By Lamb Chop in forum Excel General
    Replies: 1
    Last Post: 08-16-2006, 06:45 AM
  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