Naming the graph title based on first and last slicer item

RobbertH

Active Member
Joined
Apr 29, 2008
Messages
310
How would i go about titling my (pivot)graph based on the first and last item selected through a slicer.

Basicall the slicer allows the user to select the data range the graph is based on and i want to show the selection in the title of the graph.

Hope you can help! Thanks
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
I only know how to put a text cell in a chart - that could reference a cell that itself references your slicers.
 
Upvote 0
That would be a workaround but how do i get the first item of the slicer in a cell, and idem the last?
 
Upvote 0
Your user selects the data range - say he enters 3 in A1 and 10 in B1

in a spare cell put =concatenate("graph of xxxxxx for values between ", A1, " and ",B1)

set up the text cell in the chart and make it equal the cell with the concatenate formula
 
Upvote 0

Forum statistics

Threads
1,214,429
Messages
6,119,433
Members
448,897
Latest member
ksjohnson1970

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top