Date Calculation (mid month)

italy16

New Member
Joined
May 9, 2014
Messages
34
Hello Everyone - Looking for a formula that will calc. the start date of a contract for me given the exact date it was signed based on mid month convention. Examples

If a contract is signed in the 1st 15 days of the month, then the contract start date is the 1st of that month. If a contract is signed the last 15 days, the the contract start date is the 1st of the FOLLOWING month.

Contract signed 3/5/16 - need a calc. in a separate cell that shows 3/1/16
Contract signed 3/18/16 - need a calc in the same cell that shows 4/1/16.

So essentially the cell would need to read the contract start date cell and then either calc. the 1st of the current month or the 1st of the following month.

Thanks in advance.
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
Ciao
supposing your date is in A1 try =IF(DAY(A1)<=15,eomonth(a1,-1)+1,eomonth(a1,0)+1)
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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