Possible with Pivot table?

pholt33

Board Regular
Joined
Jan 4, 2005
Messages
206
Office Version
  1. 365
Platform
  1. Windows
Is it possible to create the red (hand drawn) line on a pivot chart?

I have a time series of data that I chart but I want to add a horizontal line with the most recent value, similar to the pic. And I obviously want it to update as new dates are added.

I haven't been able to figure out how unless I summarize the values in the source data.

pivotchartyears19_thumb.png
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
I have a time series of data that I chart but I want to add a horizontal line with the most recent value, similar to the pic. And I obviously want it to update as new dates are added.
I once did this thing by adding a field in the source table and then pulling that field in Pivot Table using Average (that will obviously be same as the source value). :unsure: ;)

You need to go one step further by pulling that new pivot field as source in your chart that shall appear as a straight line to the value of source. :cool:;)
 
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,160
Members
453,021
Latest member
Justyna P

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