Forum Discussion
How do I filter data from one sheet to another based on dates?
9 Replies
- mathetesSilver Contributor
If you have the newest version of Excel, there is a new function, FILTER, which does in formulaic form what the old menu selection did, and you can do it on separate sheets from the dataset, as you're wanting to do.
On your sheet3 in the attached, I've created an example. Here's the formula that appears in cell A5 of that sheet. Note, that's the only place where that formula appears. It "spills" to all the adjacent cells needed, in both rows and columns.
=FILTER(Table1,Table1[Review date]<D2) where D2 contains the formula =TODAY(), so as to get the list of overdue cases.
This is one of several new "Dynamic Array" functions. Here's a video that serves as a great intro to the set of Dynamic Array functions. https://www.youtube.com/watch?v=9I9DtFOVPIg
- andyyporterCopper Contributor
Thank you for replying.
When I open your attached file the formula doesn't seem to have worked - all the cells are showing "#NAME?". I do have the latest version of excel so that shouldn't be an issue. Did that formula work for you?
So frustrating, it just seems like it's impossible to do!
- SergeiBaklanDiamond Contributor
What do you mean under the latest version of Excel? Is that for Android, Mac or Windows? If Windows is that Excel 2019 or you are on subscription model, i.e. Office 365? Formula will work for the latest case.