title: Are there such things as variables within an Excel formula?
body: <p>I hate repeating functions, particularly in Excel formulas.  Is there any way that I can avoid something like:</p>
  
  <pre><code>=IF( VLOOKUP(A1, B:B, 1, 0) &gt; 10, VLOOKUP(A1, B:B, 1, 0) - 10, VLOOKUP(A1, B:B, 1, 0) )
  </code></pre>
  
  <p>[The above is just a simple example of the problem, and not a particular formula that I'm working with.]</p>