Solved

Calculation for date to be 1 month out

Posted on 2013-01-25
2
499 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

733 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