+ Reply to Thread
Results 1 to 5 of 5

Variable Filter

  1. #1
    Registered User
    Join Date
    08-23-2013
    Location
    Ireland
    MS-Off Ver
    Excel 2003
    Posts
    22

    Variable Filter

    Hi

    I am setting up a dashboard and have two variables, min sales and % growth which the user can change

    I have sales data in sheet sales data and want to run a filter on the sales data in that sheet using the variable data

    so filter on min sales (>=min sales) and (>= min % growth)

    Thanks a million

  2. #2
    Registered User
    Join Date
    06-19-2014
    Location
    Midlands, UK
    MS-Off Ver
    2010
    Posts
    58

    Re: Variable Filter

    Hi

    You can use the filter (on the data menu) and select custom filters and then you are able to set two custom ranges and select the filter you want i.e. greater than x, equal to y, less than z etc.

    Hope this helps

  3. #3
    Forum Expert Vikas_Gautam's Avatar
    Join Date
    06-04-2013
    Location
    Ludhiana,Punjab, India
    MS-Off Ver
    Excel 2013
    Posts
    1,850

    Re: Variable Filter

    There is no direct way... to add a cell reference in the conditions...
    I think you should try your luck in the vba section..



    Say thanks, click *

  4. #4
    Forum Expert Vikas_Gautam's Avatar
    Join Date
    06-04-2013
    Location
    Ludhiana,Punjab, India
    MS-Off Ver
    Excel 2013
    Posts
    1,850

    Re: Variable Filter

    Ok
    one second ...
    I got an idea with the vba..
    wait a minute I will be there with solution...

  5. #5
    Forum Expert Vikas_Gautam's Avatar
    Join Date
    06-04-2013
    Location
    Ludhiana,Punjab, India
    MS-Off Ver
    Excel 2013
    Posts
    1,850

    Re: Variable Filter

    Mission Accomplished bro..
    I did it..
    check the attachment....
    I have use a macro in sheet1
    you can always change it to your requirement..
    otherwise give me a private message..

    while changing the conditions .. do use a suffix like = or > or < don't miss it..


    say thanks, click *
    Attached Files Attached Files

+ 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. [SOLVED] How to do Unique Filter from a variable
    By sathyasun in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-07-2014, 07:22 AM
  2. Pasting a variable in filter in VBA macros
    By Ashish_Bhatt in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-30-2013, 07:12 AM
  3. Replies: 1
    Last Post: 10-27-2012, 02:54 AM
  4. [SOLVED] how do I filter for 1 variable in multiple columns
    By California in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-18-2005, 07:06 PM
  5. Variable as argument in filter range
    By Bert in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-21-2005, 07:06 PM

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