Solved

# Workweek - add 6 months and 60 days

Posted on 2014-11-05
96 Views
Experts, I have fiddled around with this workweek function and I cant get it to work.

How can I modify the below for Workweek?  I am adding 6 months and 60 days.  I have 180 for 6 months but I dont believe that is totally accurate.  If know how to add 6 months then that is what I am after.  I am adding only calendar and not days counted M-F.

=H114+180+60

thank you
0
Question by:pdvsa
[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
• 3
• 2

LVL 40

Assisted Solution

als315 earned 100 total points
ID: 40424616
With EDATE you can add monthes to your date:
=EDATE(H114,6)
0

Author Comment

ID: 40424832
I am doing something wrong.  It is returning Weekend dates.  I am adding 6 months then adding additoinal 60 days and this is what the "8" is.  (6 +2)

you see something?
=WORKDAY(EDATE(H114,8),-1,1)
0

LVL 7

Expert Comment

ID: 40425084
Try this:

=IF(WEEKDAY(EDATE(H114,6),2)=7,EDATE(H114,6)+1,IF(WEEKDAY(EDATE(H114,6),2)=6,EDATE(H114,6)+2,EDATE(H114,6)))

This will determine if your end date falls on a Saturday or a Sunday, it will push it to the next Monday.
0

Author Comment

ID: 40425106
Katie:  I am getting something not expected and wondering if your formula adds 6 months or is it 8?  I am thinking it is 6 but my original question was to add 8 total (6 months + 60 days which is about 8 months)

let me know..
0

LVL 7

Accepted Solution

Katie Pierce earned 400 total points
ID: 40425116
Oh, sorry, I read 6 months.  Yes, replace the 6 with an 8 in each instance to make it +8 months:

=IF(WEEKDAY(EDATE(H114,8),2)=7,EDATE(H114,8)+1,IF(WEEKDAY(EDATE(H114,8),2)=6,EDATE(H114,8)+2,EDATE(H114,8)))
0

Author Closing Comment

ID: 40425153
thank you...it works!
0

## Featured Post

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.
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.
###### Suggested Courses
Course of the Month6 days, 17 hours left to enroll

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

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