title: Formula for plotting a graph in Excel
body: <p>I am using Matlab to write a table of values into Excel. I wanted to create a button in multiple cells, which will kind of do some calculations on the date present in other cells, and then plot a simple graph.</p>
  
  <p>Is there a formula to do this.</p>
  
  <p>For example, </p>
  
  <p>I write some values into columns A and B.</p>
  
  <p>I want to make a graph now, with A on x axis and B on y axis.</p>
  
  <p>But with a simple formula, which can be written from Matlab to Excel in a text format.</p>
  
  <p>thanks.</p>