Solved

Round date to the nearest entry point (1/1 or 7/1)

Posted on 2011-09-08
2
178 Views
Last Modified: 2012-05-12
I have a formula that is providing me with a date. I'd like to be able to take that date and have it convert to the next entry point being either 1/1 or 7/1. So, 1/18/11 would turn into 7/1/11 and 8/15/11 would turn into 1/1/12. Any ideas?
0
Comment
Question by:tazpaj
2 Comments
 
LVL 81

Accepted Solution

by:
zorvek (Kevin Jones) earned 500 total points
ID: 36504425
Try this formula:

=DATE(YEAR(A1),(INT((MONTH(A1)-1)/6)+1)*6+1,1)

Kevin
0
 

Author Closing Comment

by:tazpaj
ID: 36504505
That is just too easy although I'll have to wait for fresh eyes to figure out what it's doing. LOL I'm feeling really technically challenged right now.
0

Featured Post

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to quickly and accurately populate Word documents with Excel data, charts and images (including Automated Bookmark generation) David Miller (dlmille) Synopsis In this article you’ll learn how to use ExcelToWord! to copy data,charts, shapes …
Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question