+ Reply to Thread
Results 1 to 9 of 9

Charting from advanced filter

  1. #1
    Registered User
    Join Date
    07-03-2014
    Location
    Dublin, Ireland
    MS-Off Ver
    2007
    Posts
    20

    Charting from advanced filter

    Hi there. I have a filter to allow a user to search rows within a date range.

    This works fine in terms of the result list however the charts I have set up retain all of the original data. I am using the Counta formula on another sheet to provide the data for the charts.

    The row numbers of the search result turn blue and I just presume the other rows are hidden as the numbers are out of sequence. I have tried some examples to try and copy the filtered list to another sheet however was unsuccessful. How can I copy the filtered data to another sheet to avoid all the original data being counted?

    Hope my question isn't too annoying I am very new to this.

    Many thanks

    Simon.
    Last edited by kingsp; 09-26-2014 at 10:47 AM.

  2. #2
    Registered User
    Join Date
    04-07-2014
    Location
    Port Talbot, Wales
    MS-Off Ver
    Excel 2007
    Posts
    54

    Re: Charting from advanced filter

    Please provide a sample file
    Cobwebs, Alba Gu Brath (Scotland Forever)

  3. #3
    Registered User
    Join Date
    07-03-2014
    Location
    Dublin, Ireland
    MS-Off Ver
    2007
    Posts
    20

    Re: Charting from advanced filter

    Apologies -- sample file that I am working on is now attached
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    04-07-2014
    Location
    Port Talbot, Wales
    MS-Off Ver
    Excel 2007
    Posts
    54

    Re: Charting from advanced filter

    Hi mate,

    Please find a sample attached. Hope this helps you out
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    07-03-2014
    Location
    Dublin, Ireland
    MS-Off Ver
    2007
    Posts
    20

    Re: Charting from advanced filter

    Thank you very much cobwebs for taking the time to look at this. I can see how your solution will work and am delighted! - however I am a bit confused with where I need to put the Offset formula and what exactly I need to create and do in terms of the named range. Thanks again for your help it is much appreciated.

  6. #6
    Registered User
    Join Date
    04-07-2014
    Location
    Port Talbot, Wales
    MS-Off Ver
    Excel 2007
    Posts
    54

    Re: Charting from advanced filter

    In the example I sent you, I put a dynamic named range in column L in sheet “Search”

    To do this select Formulas > Name Manager > New
    - Type a name for your range – I chose obviously “alcohol”, which is the heading for column “L”
    - In the “Refers To:” section type the formula =OFFSET(Search!$L$21,0,0,COUNTA(Search!$A:$L),1)
    - Click OK button
    - As you move across each column, creating new named ranges, change the name and formula to suit

    On the “Charts” sheet
    - In my example in cell A7, under alcohol type the formula =SUBTOTAL(3,'Sample File(2).xls'!alcohol)
    - As you move across each column, change the formula to suit i.e replace alcohol with drugs etc

    Hope this helps, if so, please mark "solved" and "add reputation"

    Regards,

    Cobwebs

  7. #7
    Registered User
    Join Date
    07-03-2014
    Location
    Dublin, Ireland
    MS-Off Ver
    2007
    Posts
    20

    Re: Charting from advanced filter

    Works perfectly. Great piece of learning for me also. Many thanks Cobwebs.

  8. #8
    Registered User
    Join Date
    04-07-2014
    Location
    Port Talbot, Wales
    MS-Off Ver
    Excel 2007
    Posts
    54

    Re: Charting from advanced filter

    Welcome mate.

    Have you marked this as solved, you will need to go back to the original request, advanced etc, and can I ask you to click on the Add Reputation button as well? Cheers

    Cobwebs

  9. #9
    Registered User
    Join Date
    07-03-2014
    Location
    Dublin, Ireland
    MS-Off Ver
    2007
    Posts
    20

    Re: Charting from advanced filter

    Hi Cobwebs. I had already done both - solved and added rep -- many thanks again.

+ 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. advanced filter - button to re apply advanced filter across multiple sheets
    By motmac87 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-05-2013, 11:16 PM
  2. Help with advanced charting thru VBA?
    By theliuman in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 02-02-2011, 05:58 AM
  3. Advanced Charting Help
    By erock24 in forum Excel General
    Replies: 1
    Last Post: 07-01-2010, 04:05 PM
  4. Advanced charting help...
    By Nickster64 in forum Excel General
    Replies: 4
    Last Post: 04-28-2009, 04:10 PM
  5. [SOLVED] advanced filter a range:Advanced Filter function
    By Il Principe in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 10:05 PM

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