+ Reply to Thread
Results 1 to 2 of 2

Filter the first criteria on the filter drop down list

  1. #1
    Registered User
    Join Date
    12-18-2014
    Location
    Asyut,Egypt
    MS-Off Ver
    365
    Posts
    8

    Filter the first criteria on the filter drop down list

    I want a code to tell the excel to filter the first criteria on the filter drop down list whatever this criteria is.

    My request is to filter the first criteria but this criteria is variable

    it changes everyday but its always the first

    for example today the first criteria for filtering is 19-02-2021
    tomorrow the first criteria will be 20-02-2021,after tomorrow will be 21-02-2021 and so on

    thanks
    Attached Files Attached Files

  2. #2
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,230

    Re: Filter the first criteria on the filter drop down list

    You don't give much information...
    today the first criteria for filtering is 19-02-2021
    tomorrow the first criteria will be 20-02-2021,after tomorrow will be 21-02-2021 and so on
    You do say today criteria is 19th tomorrow is 20th...TODAY is actually 21st so I am assuming you are always going to filter today's date less two days...
    And as your sample file only has one date column ... Col A
    This works...
    Please Login or Register  to view this content.
    Good Luck
    I don't presume to know what I am doing, however, just like you, I too started somewhere...
    One-day, One-problem at a time!!!
    If you feel I have helped, please click on the star to left of post [Add Reputation]
    Also....add a comment if you like!!!!
    And remember...Mark Thread as Solved.
    Excel Forum Rocks!!!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Drop Down List with Filter and the Filter list in one single column
    By wpm7113 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 10-28-2016, 06:38 AM
  2. How to replace drop down list filter to those normal excel filter?
    By cks1026 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-24-2016, 02:48 AM
  3. Macro to filter a pivot whilst looping through filter criteria in a variable list.
    By Alistairm88 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-29-2015, 04:25 AM
  4. [SOLVED] Filter using drop down list
    By DawsonG in forum Excel General
    Replies: 8
    Last Post: 03-26-2013, 11:20 AM
  5. Drop-down list & filter
    By Jenkkipurkka in forum Excel General
    Replies: 2
    Last Post: 03-16-2010, 01:55 AM
  6. filter with drop down list
    By berti in forum Excel General
    Replies: 1
    Last Post: 07-30-2007, 04:43 AM
  7. Drop Down List:using a filter
    By clarabelle in forum Excel General
    Replies: 3
    Last Post: 06-21-2007, 06:29 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1