Solved

Custom Filter and within 2 weeks

Posted on 2014-09-25
3
194 Views
Last Modified: 2014-10-08
Hello,

I need to filter dates in a column for anything between Today() and <Today()+15 days.

The options in regards to weeks are only the current week and next week but I need both.

Thank you.  I am using 2013.

Not sure if I would use the Custom AutoFilter.  I am interested in saving the filter so I can use it at will.

Untitled.jpg
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
3 Comments
 
LVL 6

Assisted Solution

by:johnb25
johnb25 earned 250 total points
ID: 40344955
Hi,

You can use Advanced Filter.
If your dates start in cell A2, enter these formulae as the Criteria e.g. in cell AM2  =A2>=TODAY(); in cell AN3 =A2<TODAY()+15. Your Criteria range in the Advanced Filter box will be $AM$1:$AN$3.

John
0
 
LVL 27

Accepted Solution

by:
Glenn Ray earned 250 total points
ID: 40345140
John, your formula - although surprising because I'd never used Advanced formulas that way - is filtering OUT the values between today and today+15.

Reversing the two formulas:
AM2: =A2<=TODAY()
AN3: =A2>=TODAY()+15

filters the range to show just the dates in the 15-day period.

Another interesting - and cool feature - is that the data and filter ranges are preserved.

-Glenn
0
 

Author Closing Comment

by:pdvsa
ID: 40369467
that was pretty complicated.  Sorry for my tardy reply.  I must have deleted the automatic email I received telling me there was a response.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction While answering a recent question (http:/Q_27311462.html), I created an alternative function to the Excel Concatenate() function that you might find useful.  I tested several solutions and share the results in this article as well as t…
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

739 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