Solved

Calculation for date to be 1 month out

Posted on 2013-01-25
2
507 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

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

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 …
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

726 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