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

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
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
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,214,583
Messages
6,120,380
Members
448,955
Latest member
BatCoder

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
Back
Top