Solved

60 days after every Jan and July 15, add workday

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Drop Down List with Unique/Distinct Values (Part II - ComboBox or ListBox and Data Validation List Bonus!) David Miller (dlmille) Intro This article focuses on delivering unique, sorted lists to list objects (e.g., ComboBox, ListBox) and Dat…
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

789 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