Using formulas in autofilter

danmac

New Member
Joined
Dec 2, 2021
Messages
9
Office Version
  1. 365
Platform
  1. Windows
Hi there, is it possible to use formula with autofilter? I have a sheet with a table for which I need to create 4 temporary view presets. One of filter parameters is whether the date in a given cell is larger or smaller than today and 30 days from today. One way to do this would be to implement another column in the table with a formula giving True/False results but I'd like to avoid this if possible. Any ideas?
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
You could pull the data into a Pivot Table and use slicers for dynamic views.
This could work. However, other people using the spreadsheet has extremely limited knowledge of Excel zero willingness to learn. Clicking through different tabs and refreshing a pivot table is way too much. The table will be updated on each use so the idea is to use different presets for autofilter.
 
Upvote 0
You can only use certain built-in date filters with autofilter without a helper column. You could always use code with a button for each view, or a dropdown to select which view you want.
 
Upvote 0

Forum statistics

Threads
1,221,483
Messages
6,160,097
Members
451,617
Latest member
vincenzo1

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