Excel Question - Creating charts from data

Hi-I am creating charts from data that is over time (over the past 25 years). I would like to have my chart show vertical shaded bars where there were recessions over that period (i.e. 91-92). Is there a way to do this automatically without manually and sloppily trying to draw it in myself? Thanks!

14 Comments
 

Plot it as a secondary axis, with 1's and 0's. Then set the secondary axis maximum value to 1. The result will be shaded areas were there are 1s. Play with the formatting to adjust to your liking (such as, overlap 100% and various transparencies).

I'll do what I can to help ya'll. But, the game's out there, and it's play or get played.
 
pplstuffPlot it as a secondary axis, with 1's and 0's. Then set the secondary axis maximum value to 1. The result will be shaded areas were there are 1s. Play with the formatting to adjust to your liking (such as, overlap 100% and various transparencies).

This is right.

To the OP: wherever you want a shaded bar on your graph, put a 1 next to that specific date in time in your data series. Leave blank the other areas (where there were no recessions). Then graph that second column (where there are 1's and blanks) and change it to the secondary axis. Then change the chart type to a bar chart and adjust the secondary Y axis to a maximum of 1.

 

@hockey1316-yes. I could try that but I am doing this about 15-20 times so that would be ultra-tedious. Not a bad idea though and that will be my backup plan.

@pplstuff-never done this before. Where do I add a secondary axis?

Thanks guys

 

Only lets you rotate clockwise and stops you at 180, need to rotate counter clockwise.

 

Right-click data series, format data series, secondary axis. Excel 2007.

Else: Google

I'll do what I can to help ya'll. But, the game's out there, and it's play or get played.
 

Veniam consequuntur enim velit non et beatae. Quisquam repellat labore vitae id modi modi. Et ab cumque quae a error doloribus. Pariatur dolorum suscipit fuga dolorem velit mollitia a.

Suscipit ut tempore ea aut pariatur et id. Et laborum sit velit sed et doloribus ut praesentium. Magni incidunt et iste culpa id provident.

Veniam vel porro voluptatem voluptatem ea. Corrupti et dicta aspernatur non accusantium. Totam culpa aspernatur fuga saepe excepturi.

At nisi delectus qui praesentium. Quisquam consequatur optio occaecati eveniet animi.

Career Advancement Opportunities

June 2026 Investment Banking

  • Evercore 01 99.4%
  • Moelis & Company 01 98.9%
  • JPMorgan 01 98.3%
  • Guggenheim Partners 01 97.7%
  • Morgan Stanley 07 97.1%

Overall Employee Satisfaction

June 2026 Investment Banking

  • Moelis & Company No 99.4%
  • Morgan Stanley 02 98.8%
  • Evercore 01 98.3%
  • BMO Capital Markets 12 97.7%
  • Banco Santander 01 97.1%

Professional Growth Opportunities

June 2026 Investment Banking

  • Evercore 01 99.4%
  • Moelis & Company 01 98.9%
  • Morgan Stanley 05 98.3%
  • JPMorgan No 97.7%
  • Goldman Sachs 02 97.1%

Total Avg Compensation

June 2026 Investment Banking

  • Vice President (14) $434
  • Associates (44) $258
  • 3rd+ Year Analyst (8) $210
  • 2nd Year Analyst (22) $179
  • Intern/Summer Associate (13) $156
  • 1st Year Analyst (79) $150
  • Intern/Summer Analyst (73) $101
notes
16 IB Interviews Notes

“... there’s no excuse to not take advantage of the resources out there available to you. Best value for your $ are the...”

Leaderboard

1
redever's picture
redever
99.2
2
kanon's picture
kanon
99.0
3
Secyh62's picture
Secyh62
99.0
4
BankonBanking's picture
BankonBanking
99.0
5
dosk17's picture
dosk17
98.9
6
CompBanker's picture
CompBanker
98.9
7
GameTheory's picture
GameTheory
98.9
8
DrApeman's picture
DrApeman
98.9
9
Betsy Massar's picture
Betsy Massar
98.9
10
Linda Abraham's picture
Linda Abraham
98.8
success
From 10 rejections to 1 dream investment banking internship

“... I believe it was the single biggest reason why I ended up with an offer...”