Solved

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

Posted on 2014-08-01
4
108 Views
Last Modified: 2014-08-01
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

Thanks in advance
0
Comment
Question by:Jagwarman
  • 2
  • 2
4 Comments
 
LVL 10

Expert Comment

by:GasperK
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)
Those are your dates...
Hope this helps
0
 

Author Comment

by:Jagwarman
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

by:
GasperK 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

by:Jagwarman
ID: 40234271
many thanks that's great
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Dealing with unintended Excel Active-X resizing quirks (VBA code simulates "self correction") David Miller (dlmille) Intro Not everyone is a fan of Active-X controls in spreadsheets (as opposed to the UserForm approach, the older Form controls …
Convert between Excel file formats (.XLS, .XLSX, .XLSM) with/without macro option David Miller (dlmille) Intro Over this past Fall, I've had the opportunity to see several similar requests and have developed a couple related solutions associate…
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

863 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

24 Experts available now in Live!

Get 1:1 Help Now