Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Calculation for date to be 1 month out

Posted on 2013-01-25
2
Medium Priority
?
523 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 2000 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

Enroll in October's Free Course of the Month

Do you work with and analyze data? Enroll in October's Course of the Month for 7+ hours of SQL training, allowing you to quickly and efficiently store or retrieve data. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.

618 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