title: How to create a formula with variables and string on excel?
body: <p>I want this line:</p>
  
  <pre><code>./command.sh -id IDVAL -amount MONEY -assignment SIGNVAL -reason "goodjob"
  </code></pre>
  
  <p>as a formula in excel. <code>IDVAL</code> is in cell <code>A2</code>, <code>MONEY</code> is in <code>B2</code>, <code>SIGNVAL</code> is in <code>C2</code> (for the first line.. for the second line, <code>IDVAL</code> is in <code>A3</code>, <code>MONEY</code> in <code>B3</code> etc.).</p>
  
  <p>To make this a formula, what I tried was </p>
  
  <pre><code>./command.sh -id =A2 -amount =B2 -assignment =C2 -reason "goodjob"
  </code></pre>
  
  <p>but it recognizes <code>=A2</code> as a string (doesn't read what is in <code>A2</code>). How would I get it to read what is in the <code>A2</code> cell rather than having it as a string?</p>
  
  <p>Edit: I copy pasted this into the cell / "fx" bar near the top of excel. I also tried</p>
  
  <pre><code>./command.sh -id =evaluate(=A2)
  </code></pre>
  
  <p>but that doesn't work either.</p>