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

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
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,223,237
Messages
6,170,924
Members
452,366
Latest member
TePunaBloke

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