+ Reply to Thread
Results 1 to 6 of 6

Auto Filter based on other cells

  1. #1
    Registered User
    Join Date
    01-19-2022
    Location
    Wyoming, USA
    MS-Off Ver
    2013
    Posts
    11

    Auto Filter based on other cells

    In my attached example, is there a way to automatically filter the data based on the value of other cells?
    Attached Files Attached Files

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,318

    Re: Auto Filter based on other cells

    Take a look at advanced filter or why not just use a Pivot Table and place the Shift and Date in the filter area.
    HTH
    Regards, Jeff

  3. #3
    Registered User
    Join Date
    01-19-2022
    Location
    Wyoming, USA
    MS-Off Ver
    2013
    Posts
    11

    Re: Auto Filter based on other cells

    In my actual spreadsheet, a pivot table won't work as ultimately the data is going to a summary tab feeding into PowerBI. This is going to be used by shift operators and I am trying to make it as simple as possible so they simply have to choose DAYS or NIGHTS and it will filter by the date (TODAY) and the shift. This way they will only see the rows pertinent to that shift and won't inadvertantly put data in the wrong rows. Not to mention I'm curious if it is possible

    The advanced filter kind of works but it doesn't auto filter. I'm not sure it is possible, but figured this was the place to ask.

  4. #4
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,318

    Re: Auto Filter based on other cells

    Well, if they simply have to just choose DAYS or NIGHTS, then why not let the user simply filter from the headers of the data. It seems we could look at some elaborate way to do this, but sometimes KISS applies.

  5. #5
    Registered User
    Join Date
    01-19-2022
    Location
    Wyoming, USA
    MS-Off Ver
    2013
    Posts
    11

    Re: Auto Filter based on other cells

    There is a little more to it, and were simply trying to let them change things in one area. They are not computer people, so we are trying to simplify as much as possible. I can just have them filter, but was still curious to know if there is a way to automize it. If not that's fine.

  6. #6
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,675

    Re: Auto Filter based on other cells

    Perhaps using a parameterized query as modeled in the attached file and explained in the linked video tutorial would do what you want: https://www.youtube.com/watch?v=gK2yBpiITvI
    Note that an extra step is needed for the Date table (see power query advanced editor).
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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. Auto vlookup and Auto filter based on condition
    By Power Puneeth in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-26-2020, 01:19 PM
  2. Auto Filter based on Filename
    By bambino86 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-26-2017, 05:57 AM
  3. VBA - Auto Filter and make new sheets based on the filter values- Loop
    By Paul Cherian in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-25-2017, 06:41 AM
  4. [SOLVED] Auto filter data based off
    By rongil20 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-04-2016, 10:19 AM
  5. [SOLVED] Auto Populate cell based on auto filter selection from table in same sheet
    By missydanni in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-02-2013, 05:03 PM
  6. Auto Filter, Sort and Hide cells based on cell value
    By kal46 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-29-2012, 05:09 PM
  7. Auto filter based on a list of cells
    By Sherpa21987 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-10-2011, 09:48 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