Plotting Graph in Excel

Though, the subject of this post is quite simple, I promise the content is not. There was a very peculiar problem, which my friend asked me to address. Without a second thought, I started to look into it and to find solution of the same. He had this excel sheet with data field Month/Year, total number of order served, total number of order accepted, and total number of order rejected. What I gave him looked something like this.

 Let me tell you how to plot this. Before beginning, let me give you all a snapshot of the excel sheet.






Here is a list of steps in a sequential manner that could be used to create the graph.
  1. Select Month/Year and Order Served column. 
  2. Click Insert; Select line chart.
  3. Right click on the graph and Select Data
  4. Click on Add; Enter series name as Order Rejected and Series value as column containing order rejected entries. 
  5. Repeat the same for Order Accepted
  6. Selected Order Rejected Line. Right Click on it and select Change Series Chart Type and select clustered chart. 
  7. Repeat step 6 for Order Accepted line. 
  8. Select Order Rejected; Right Click on it; Select Format Data Series; Under Series Option, select Secondary Axis in Plot Series on section. Click on fill; Select Solid Fill Option; select color as Red.
  9. Repeat step 8 for Order Accepted; Select Color as Green
  10. Select and do right-click on Secondary axis; Select Format Axis;Enter Max and min values on Secondary Axis.
  11. After few simple non-essential formatting, you will get 


Takeaways from this are;
  • Plotting
  • Data Representation
  • Concept of Secondary axis
Happy VBA...ing