Solved

Filtering by date range

Posted on 2012-04-04
3
95 Views
Last Modified: 2013-01-29
Once I strip a ~15MB Excel spreadsheet down to semi-manageable size i am left with data in columns E to O.

Column N contains dates.

I need a macro that would contain both a lower and upper limit date.
When the macro is run it would change all the rows that fall outside the set date limits.

The row being from Ex to Ox

Those rows that fall outside the date limits, their default text color would change to [White, Background 1, Darker 5%]

Any row (Ex to Ox) would stay its automatic color if it falls within the date range and the remaining rows (Ex to Ox) would change to a very lite gray making but not quite invisible.

Thanks in advance for any assistance.
0
Comment
Question by:dgd1212
[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
  • 2
3 Comments
 
LVL 4

Accepted Solution

by:
AgeOfEmpires earned 500 total points
ID: 37809330
Have you considered Conditional Formatting?  In Excel 2010 it is quite flexible.  You could create a formatting rule that looks at the dates and applies your format on those dates that fall outside a given range.
0
 

Author Comment

by:dgd1212
ID: 37811781
Conditional formatting is not viable in this case. The macro I'm inquiring about is the first step to a number items, hopefully, that can be done with this worksheet.
Thanks
0
 

Author Comment

by:dgd1212
ID: 37830499
I have attached an example, a PDF file. Contains two screen shots. First is raw data.
Second is the needed result, for example , a date range of May/June. All other dates "not" in that range turn a light gray [White, Background 1, Darker 5%].
Thank you for any assistance.
EE-Example.pdf
0

Featured Post

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

617 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