Link to home
Start Free TrialLog in
Avatar of fskilnik
fskilnikFlag for Brazil

asked on

Cell with dynamic formula

Hi there!
 
If the cell A1 has the number 0.2 in it, and cell A2 has the number 0.3 in it, then if I type  =LN(A1/A2) in cell A3, I will get the natural logarithm of the ratio A1 to A2 , of course.

Suppose I want to have something dynamic,  say the possibility of changing the digit 2 in the =LN(A1/A2) formula, to another positive integer, to be obtained using some formula.

In other words, I want to calculate =LN(A1/A someformulathatgives2)

I thought about changing the cell to that:   = LN(A1/"A"&2) so that I am able to put a formula in the place of 2... it gives an error.

How this should be done, please?

Thanks,
fskilnik.
ASKER CERTIFIED SOLUTION
Avatar of Subodh Tiwari (Neeraj)
Subodh Tiwari (Neeraj)
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of fskilnik

ASKER

Sorry for the delay, Subodh Tiwari (Neeraj)!

Thank you for the solution. It worked perfectly.

Regards,
fskilnik.
You're welcome fskilnk! Glad it worked as desired. :)
Thanks for the feedback.

Regards.
Neeraj
Thank you, Neeraj!