Solved

60 days after every Jan and July 15, add workday

Posted on 2014-11-04
4
135 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This Article is a follow-up to my Mappit! Addin Article (http://www.experts-exchange.com/A_2613.html), it was inspired by an email posting I made to EUSPRIG (http://www.eusprig.org/index.htm), I will briefly cover: 1) An overvie…
Introduction While answering a recent question (http:/Q_27311462.html), I created an alternative function to the Excel Concatenate() function that you might find useful.  I tested several solutions and share the results in this article as well as t…
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…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …

816 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now