Round up dates to a date ending quarter

Challis

New Member
Joined
Oct 22, 2017
Messages
21
Hi,
I am looking to round up dates from column A to a date ending quarter in column B. I have 100s of dates to convert so looking for a formula to put in column B
Example
A B
Jul-1630/09/2016
Aug-1630/09/2016
Sep-1630/09/2016
Oct-1631/12/2016
Nov-1631/12/2016
Dec-1631/12/2016
Jan-1731/03/2017
Feb-1731/03/2017
Mar-1731/03/2017

<colgroup><col><col></colgroup><tbody>
</tbody>

Help appreciated!
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
Bound to be a better way when one of the formula Guru's looks at this but the below gives the results you are looking for in your examples.

Excel Workbook
AB
1Jul-1630/09/2016
2Aug-1630/09/2016
3Sep-1630/09/2016
4Oct-1631/12/2016
5Nov-1631/12/2016
6Dec-1631/12/2016
7Jan-1731/03/2017
8Feb-1731/03/2017
9Mar-1731/03/2017
10May-1730/06/2017
Sheet2
 
Upvote 0

Excel 2010
AB
11-Jul-1630-Sep-16
1a
Cell Formulas
RangeFormula
B1=DATE(YEAR(A1),ROUNDUP(MONTH(A1)/3,0)*3+1,0)
 
Upvote 0
Hi,

This would also work:


Book1
AB
1Jul-169/30/2016
2Aug-169/30/2016
3Sep-169/30/2016
4Oct-1612/31/2016
5Nov-1612/31/2016
6Dec-1612/31/2016
7Jan-173/31/2017
8Feb-173/31/2017
9Mar-173/31/2017
10Apr-176/30/2017
Sheet452
Cell Formulas
RangeFormula
B1=EOMONTH(A1,MOD(MONTH(A1)*2,3))
 
Upvote 0

Forum statistics

Threads
1,215,078
Messages
6,122,997
Members
449,093
Latest member
masterms

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