Solved

60 days after every Jan and July 15, add workday

Posted on 2014-11-04
4
137 Views
Last Modified: 2014-11-04
Experts, I have another question.  The below returns 60 days after each Jan and July 15 based on now().  I need to change the Now() to a cell reference and need to add WORKDAY criteria.  I have fiddled around with it to no avail.

here is what I have now.  
=DATE(YEAR(NOW()),CHOOSE(MONTH(NOW()),IF(DAY(NOW())>15,7,1),7,7,7,7,7,IF(DAY(NOW())>15,13,7),13,13,13,13,13),15+60)

thank you
0
Comment
Question by:pdvsa
  • 2
  • 2
4 Comments
 
LVL 24

Expert Comment

by:Phillip Burton
ID: 40422407
=workday(DATE(YEAR(a1),CHOOSE(MONTH(NOW()),IF(DAY(NOW())>15,7,1),7,7,7,7,7,IF(DAY(NOW())>15,13,7),13,13,13,13,13),15+60)-1,1)
0
 

Author Comment

by:pdvsa
ID: 40422487
Philip, thanks.  I am needing to move away from the NOW part of it (in the IF) and instead refer to a cell above it.  I am going to be dragging the formula down and referring the the cell above.  Not sure what all the change if after knowing this.  

Thank you for the help once again...
0
 
LVL 24

Accepted Solution

by:
Phillip Burton earned 500 total points
ID: 40422499
=workday(DATE(YEAR(a1),CHOOSE(MONTH(A1),IF(DAY(a1)>15,7,1),7,7,7,7,7,IF(DAY(a1)>15,13,7),13,13,13,13,13),15+60)-1,1)
0
 

Author Closing Comment

by:pdvsa
ID: 40422553
very nice.  thank you.  I have a follow up.  be looking...:0)
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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.
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

679 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