Graphing with forecasted data as a different color

ScienceGirl55

New Member
Joined
Feb 7, 2023
Messages
4
Office Version
  1. 365
Platform
  1. Windows
I have a data table with month-year in column A and values in column B. I want these in a simple line graph where excel knows that the line is dark blue from Jaunary 1 through todays date and then continues from the day after today to December 31 (same year) as light blue. The idea is to show that on any given day the data up to today is actual and the data from tomorrow through the end of the year is a forecast. (could also be dark blue actual and dark blue dashed for forecasted - whatever works).
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
How about creating two lines, one for actual, and one for forecast,repeating the last month of actual on the month forecast begins:

WorkBook1.xlsx
ABCD
2
3ActualForecast
41/1/202312
52/1/202312
63/1/202314
74/1/202320
85/1/20232121
96/1/202320
107/1/202314
118/1/202314
129/1/202319
1310/1/202316
1411/1/202317
1512/1/202315
16
17
18
Sheet2



1675781581655.png
 
Upvote 0
Solution

Forum statistics

Threads
1,224,824
Messages
6,181,186
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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