+ Reply to Thread
Results 1 to 7 of 7

Filter Choice in Chart Title

Hybrid View

  1. #1
    kcrippe1@email.mot.com
    Guest

    Filter Choice in Chart Title

    Is there a way to reference a filter choice in a chart title? I have
    a column with about 7 validsets. If the user choses one of those, I
    would like the choice to be displayed in an associated chart title. I
    understand that I can reference a cell in the chart title, so really
    the question is; How do I reference a selected filter choice in
    another cell?

    Unfortunately I can't use pivots for this, since the chart is an XY
    scatter.

    Thanks,
    Kevin


  2. #2
    Don Guillett
    Guest

    Re: Filter Choice in Chart Title

    You could use this UDF in a cell. Put the code in a REGULAR module and type
    =st() somewhere.

    Function st()
    x = Cells(Rows.Count, "b").End(xlUp).Row
    st = Cells(x, "b")
    End Function

    --
    Don Guillett
    SalesAid Software
    dguillett1@austin.rr.com
    <kcrippe1@email.mot.com> wrote in message
    news:1136994602.961680.74710@g43g2000cwa.googlegroups.com...
    > Is there a way to reference a filter choice in a chart title? I have
    > a column with about 7 validsets. If the user choses one of those, I
    > would like the choice to be displayed in an associated chart title. I
    > understand that I can reference a cell in the chart title, so really
    > the question is; How do I reference a selected filter choice in
    > another cell?
    >
    > Unfortunately I can't use pivots for this, since the chart is an XY
    > scatter.
    >
    > Thanks,
    > Kevin
    >




  3. #3
    kc
    Guest

    Re: Filter Choice in Chart Title

    Brilliant! Thank you!


  4. #4
    Don Guillett
    Guest

    Re: Filter Choice in Chart Title

    glad it helped


    --
    Don Guillett
    SalesAid Software
    dguillett1@austin.rr.com
    "kc" <kcrippe1@email.mot.com> wrote in message
    news:1136998679.263583.281120@z14g2000cwz.googlegroups.com...
    > Brilliant! Thank you!
    >




  5. #5
    kc
    Guest

    Re: Filter Choice in Chart Title

    Ok - so now I notice that the result doesn't calculate after another
    filter choice.

    How can I force a calculation of this cell after a filter choice has
    been made?


  6. #6
    Don Guillett
    Guest

    Re: Filter Choice in Chart Title

    When I tested it, it did. Just add this as the FIRST line of the function

    application.volatile

    --
    Don Guillett
    SalesAid Software
    dguillett1@austin.rr.com
    "kc" <kcrippe1@email.mot.com> wrote in message
    news:1137005862.465464.149680@g44g2000cwa.googlegroups.com...
    > Ok - so now I notice that the result doesn't calculate after another
    > filter choice.
    >
    > How can I force a calculation of this cell after a filter choice has
    > been made?
    >




+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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