Solved

Calculation for date to be 1 month out

Posted on 2013-01-25
2
487 Views
Last Modified: 2013-01-28
Greetings Experts,

Here is the scenario.  I will need to calculate a date that is 30 days (1 month) from a date entered in a cell.  The trick is that if the date falls on a non-working day it must roll to the next working day.

Thanks in advance.
0
Comment
Question by:Vendettta
2 Comments
 
LVL 50

Accepted Solution

by:
barry houdini earned 500 total points
ID: 38820870
If you want exactly 1 calendar month later then with date in A1 use this formula in B1

=WORKDAY(EDATE(A1,1)-1,1)

That will not fall on a Sat or Sun, if you want to avoid holidays too then with holidays listed in H2:H10 try this version

=WORKDAY(EDATE(A1,1)-1,1,H$2:H$10)

That adds a month then jumps to the next workday (if necessary)

or you can use just 30 days like this

=WORKDAY(A1+30-1,1)

regards, barry
0
 

Author Closing Comment

by:Vendettta
ID: 38827299
Barryhoudini! Your answers are always the best!
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

785 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