Calculate Salary between two inclusive dates(monthly) where broken days salary are to be calculated depending upon the months(31, 30 or28 etc.)??

ehsantahmid

New Member
Joined
May 9, 2018
Messages
1
Hello dear professional friends,
Can any one give me a formula for making a salary sheet where say from 3-jan-2017 to 20-apr-2017, monthly salary is 2000$ so first 29 days(as inclusive) to be calculated as 31 days in a month and in april 10 days to be calculated as 30 days in this month.
I need this urgently.
thanks.:warning::warning::warning:
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
Re: //URGENT//How to calculate Salary between two inclusive dates(monthly) where broken days salary are to be calculated depending upon the months(31, 30 or28 etc.)??

This formula calculates the number of days in a month. The date is in cell A2.
=DAY(DATE(YEAR(A2),MONTH(A2)+1,1)-1)
 
Upvote 0
Re: //URGENT//How to calculate Salary between two inclusive dates(monthly) where broken days salary are to be calculated depending upon the months(31, 30 or28 etc.)??

Why don't you simply use

=DAY(EOMONTH(A2,0))

to give the number of days in a month?
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,242
Members
452,623
Latest member
russelllowellpercy

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top