title: How to calculate addition and subtraction in sas
body: <p>How to calculate this below</p>
  <p>Used below formula in Microsoft excel</p>
  <pre><code>   C = col1-col2- col3 + col4
  </code></pre>
  <p>I used below logic to convert above formula into SAS</p>
  <pre><code>   C1 = col1-col2
     C2 = sum(col3,col4)
     C1= C1-C2
  </code></pre>
  <p>Still not able to match value with Microsoft excel output</p>