+ Reply to Thread
Results 1 to 5 of 5

Can excel function identify which column has been filtered and return the column name?

  1. #1
    Registered User
    Join Date
    02-08-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    1

    Can excel function identify which column has been filtered and return the column name?

    Hi,
    I have a database where visible data total (filtered) is highlighted using SUBTOTAL(). Now I want the text which is appropriate and changes according to the filter. E.g,
    when I select "UK" as the country and "Solar" as the fuel type in the autofilters, the text beside the SUBTOTAL value should be "UK Solar Capacity".
    Hope there is a way and I get introduced to it in this forum. Thanks.
    Vinay

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Can excel function identify which column has been filtered and return the column name?

    Hi and welcome to the forum

    Cant you just look at the top if the list where the filters are and see which 1's have the funnel - indicating that column is filtered?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: Can excel function identify which column has been filtered and return the column name?

    I believe you should go for VBA code to do this job


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  4. #4
    Registered User
    Join Date
    12-26-2012
    Location
    Meerut
    MS-Off Ver
    Excel 2007
    Posts
    86

    Re: Can excel function identify which column has been filtered and return the column name?

    for better result advice u to attached sample data sheet!

  5. #5
    Registered User
    Join Date
    02-08-2013
    Location
    uk
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Can excel function identify which column has been filtered and return the column name?

    Hi,
    You can also get help from internet.
    grays solar

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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