Advanced Filter, can I use fomula in the criteria?

mvatoi

Board Regular
Joined
Jul 21, 2007
Messages
55
Hi,

I'm trying to filter all the dates that are greater than today by using advance filter. Can I do that?

I want to put a formula in the criteria range like >=today()
which will filter all dates from today to the future, or just >today() would be fine.

I do not want to manually insert today date as >dd/mm/yyyy and <12/31/2999

Thanks,
Danny
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".

ADAMC

Well-known Member
Joined
Mar 20, 2007
Messages
1,169
Office Version
  1. 2013
Platform
  1. Windows
Welcome to the board!

Probably a better way...... but IF COLUMN A is dates put this in column B:
=IF(A1>TODAY(),"TRUE","FALSE") and then drag it down column B
Then Autofilter the 2 columns together and choosing true would leave all dates ahead of the curent date?
 
Upvote 0

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,210
Hi,

I'm trying to filter all the dates that are greater than today by using advance filter. Can I do that?

I want to put a formula in the criteria range like >=today()
which will filter all dates from today to the future, or just >today() would be fine.

I do not want to manually insert today date as >dd/mm/yyyy and <12/31/2999

Thanks,
Danny

A1: Date

A2 and downwards house the dates of interest.

B:C houses other data.

Set up the criteria range as:

F1 must be left empty.

F2:

=A2>=TODAY()

Run the Advanced Filter on the data area with F1:F2 as the Criteria range.
 
Upvote 0

Forum statistics

Threads
1,191,204
Messages
5,985,261
Members
439,953
Latest member
suchitha

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top