In order to create a variable from a formula, follow these steps:
Highlight the cell in which your formula exists
Select the Create Variable option from the formula bar
3. Once selected, the Variable Editor will open to name and define the variable
4. Click the OK button to save
5. The formula will now be available as a reusable variable in the Variables folder