Solved

Every Oct 8

Posted on 2015-01-10
7
82 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
[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
7 Comments
 
LVL 11

Expert Comment

by:Wilder1626
ID: 40542398
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
ID: 40542401
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
ID: 40542454
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
PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

 

Author Comment

by:pdvsa
ID: 40542493
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
ID: 40542517
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
ID: 40558834
...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
ID: 40558953
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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
If you need to forecast numbers -- typically for finance -- the Windows and Mac versions of Excel 2016 have a basket of tools to get the job done.
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

631 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