Solved

# formula to select today +1 today +3 and today +5 but

Posted on 2014-08-01
125 Views
Is the a formula that I can use to select today +1 today +3 and today +5 but exclude weekends.

so today [1/8/2014 I would say if A2=Today select today +1 today +3 and today +5 "Yes" , "No" but exclude weekends.

so the dates I would expect to have Yes are 4/8, 6/8 and 8/8

0
Question by:Jagwarman
[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
• 2
• 2

LVL 10

Expert Comment

ID: 40234167
I'm not quite sure I understood the question correctly but I think you need
=Workday(TODAY(),1)
=Workday(TODAY(),3)
=Workday(TODAY(),5)
Hope this helps
0

Author Comment

ID: 40234197
I need to be able to put this in an IF statement to say IF A2 = .........."Yes","No"

would you know how I would do that?

Thanks
0

LVL 10

Accepted Solution

Gašper Kamenšek earned 500 total points
ID: 40234231
Still not sure about the understanding but...
=IF(OR(A2 = Workday(TODAY(),1),A2=Workday(TODAY(),3),A2=Workday(TODAY(),5)),"Yes","No")
0

Author Comment

ID: 40234271
many thanks that's great
0

## Featured Post

Question has a verified solution.

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

Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
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…
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…
###### Suggested Courses
Course of the Month7 days, 13 hours left to enroll