Solved

60 days after every Jan and July 15, add workday

Posted on 2014-11-04
4
139 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
[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
  • 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

Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
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.
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

705 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