# Add Days - Not Workdays

Hello, Is the below formula correct to add simply 45 days (not WORKDAYS)?   I think it is but not certain.

=WORKDAY(EDATE(H67,CHOOSE(MATCH(D68,{"annually","quarterly","semi-annually","monthly"},0),12,3,6,1))-1,1,Holidays_US_Jap)+45

thank you
###### Who is Participating?

x
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:
Yes. Excel stores dates as integers and times as decimals, so to add days to a date, simply add a whole number.

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.  Is it adding 45 days because this criteria is outside of the formula?  Meaning that if I wanted to add 45 WORKDAYS then I would need to put it inside the formula?

thank you
Excel VBA DeveloperCommented:
^Correct; this adds 45 calendar days to the result of the WORKDAY() function.  If you wanted to add 45 workdays to the result, you'd change the days argument from 1 to 45:
=WORKDAY(EDATE(H67,CHOOSE(MATCH(D68,{"annually","quarterly","semi-annually","monthly"},0),12,3,6,1))-1,45,Holidays_US_Jap)

Note the difference:  If the date in H67 is 11/1/2014 and the measure value in D68 is "monthly" then:
A) The formula without any 45-day change  = 12/1/2014
B) The formula with 45 calendar days = 1/15/2015
C) The formula with 45 workdays = 3/20/2015

Regards,
-Glenn
Project financeAuthor Commented:
thank you.
###### 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.