LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Junior Member
 
Posts: 5
Default Next January 1 or July 1

Hi, I was looking for a cell formula that returns the next January 1 or July 1 after a given date.

Examples:

3/8/2013 would return 7/1/2013

or

8/21/2014 would return 1/1/2015

Here is a formula for returning the first day of the next quarter (provided by "Bernd P") - but I wasn't able to tweak it to return the next Jan. 1 or July 1:

=DATE(YEAR(A1),1+FLOOR(MONTH(A1)+2,3),1)

Thanks.

Last edited by ElizabethWells : September 24th 14 at 01:36 AM Reason: I changed the title and added a similar function to the post.
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
January 08 is abbrecviated to 8-Jan. Help! djb877 Excel Discussion (Misc queries) 2 January 3rd 08 05:26 PM
Return day of week for 1 January dalymjl Excel Worksheet Functions 4 January 23rd 06 09:25 PM
Return the day of week for 1 January dalymjl About this forum 0 January 20th 06 08:17 PM
January 2006 Howard Excel Discussion (Misc queries) 12 January 4th 06 04:18 AM
error with smproduct for January Tim Excel Discussion (Misc queries) 4 December 15th 04 01:36 AM


All times are GMT +1. The time now is 08:27 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"