JohnTravolski
New Member
- Joined
- Nov 25, 2015
- Messages
- 45
- Office Version
- 2019
- Platform
- Windows
I have a spreadsheet with several complicated formulas and I'm wanting a cell B6 to display a value that would make two other cells equivalent (one of the cells depends on B6 and the other cell does not). I imagine it would have to be done using some numerical method, but I don't know if Excel can even do this at all. Take, for example, the following spreadsheet:
The PV Factor column has the formula
and the "Expected Present Value" cell has the formula
while the "Actual Value" column was a manually-entered constant. I'm wanting to the find the value of the "Long Term Constant Return" that makes the cells "Actual Value" and "Expected Present Value" equal. Unfortunately, sumproduct is not an invertible function, so I cannot analytically solve for the Long Term Constant Return with a formula. I need to use some kind of numerical method to find an approximate answer, but I want Excel to do this for me automatically and display the result in a cell.
How can I have Excel calculate this value for me? I have attached the spreadsheet here: solve excel equation.xlsx
The PV Factor column has the formula
Excel Formula:
=(1+$B$6)^(DATEDIF(F2,TODAY(),"d")/365)
and the "Expected Present Value" cell has the formula
Excel Formula:
=SUMPRODUCT(E:E,G:G)
while the "Actual Value" column was a manually-entered constant. I'm wanting to the find the value of the "Long Term Constant Return" that makes the cells "Actual Value" and "Expected Present Value" equal. Unfortunately, sumproduct is not an invertible function, so I cannot analytically solve for the Long Term Constant Return with a formula. I need to use some kind of numerical method to find an approximate answer, but I want Excel to do this for me automatically and display the result in a cell.
How can I have Excel calculate this value for me? I have attached the spreadsheet here: solve excel equation.xlsx