Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Filtering by date range

Posted on 2012-04-04
3
Medium Priority
?
97 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
  • 2
3 Comments
 
LVL 4

Accepted Solution

by:
AgeOfEmpires earned 2000 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

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

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

Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
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 Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

926 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