# Workweek - add 6 months and 60 days

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
###### Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Commented:
=EDATE(H114,6)
Project financeAuthor Commented:
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)
Commented:
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.
Project financeAuthor Commented:
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..
Commented:
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)))

Experts Exchange Solution brought to you by

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Project financeAuthor Commented:
thank you...it works!
###### It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.