Solved

Every Oct 8

Posted on 2015-01-10
7
76 Views
Last Modified: 2015-01-19
experts, i need a formula for each oct 8 of each year.  t should be draggable down several rows from start date in A1. if oct 8 is a weekend then i need preceding workday.

thank you
0
Comment
Question by:pdvsa
7 Comments
 
LVL 11

Expert Comment

by:Wilder1626
Comment Utility
HI

Would you be able to provide an excel template that we can work with?

This should help us to understand what you really need.
0
 

Author Comment

by:pdvsa
Comment Utility
Hi, I am on my phone at the moment.  

Let's say cell a1 is October 8, 2015.  I need out 8 of each succeeding year and using previous workday if lands on a weekend.  

Thank you
I hope my explanation is clear.
0
 
LVL 43

Accepted Solution

by:
Saqib Husain, Syed earned 500 total points
Comment Utility
Try this formula in A2 and drag down

=DATE(YEAR(A1)+1,10,8-MAX(0,WEEKDAY(DATE(YEAR(A1)+1,10,8),2)-5))
0
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 

Author Comment

by:pdvsa
Comment Utility
Saqib, that works.  

Would you happen to know how I could incorporate a holidays named range?  I have a tab with a listing of holidays and if the date lands on the holiday then use the preceding workday.
0
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
Comment Utility
Unless you have oct 6th or oct 7th as a holiday you probably do not have to worry about holidays.
0
 
LVL 50

Expert Comment

by:barry houdini
Comment Utility
...a bit late for this one, I know.......but if you use WORKDAY function you can exclude holidays if that might be a factor, i.e. using this formula in A2 copied down

=WORKDAY(DATE(YEAR(A1)+1,10,8)+1,-1,holidays)

regards, barry
0
 

Author Comment

by:pdvsa
Comment Utility
Thank you Barry.  I will test that when I return to my computer.  Appreciate your response after knowing that the question was closed.
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

INDEX and MATCH can be used to great effect to replace HLOOKUP and VLOOKUP as it does not have the limitation of needing the data to be sorted so that the reference value is in the first column or row. It also has the ability to perform a bi-directi…
How to quickly and accurately populate Word documents with Excel data, charts and images (including Automated Bookmark generation) David Miller (dlmille) Synopsis In this article you’ll learn how to use ExcelToWord! to copy data,charts, shapes …
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

763 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

7 Experts available now in Live!

Get 1:1 Help Now