ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   How do I set up two cells with a reciprocal formula? (https://www.excelbanter.com/excel-programming/395750-re-how-do-i-set-up-two-cells-reciprocal-formula.html)

Jim Thomlinson

How do I set up two cells with a reciprocal formula?
 
Two possible solutions.

1 - VBA without a formula in the cell. You can use the on change event to
catch changes to one cell and then calculate the required value and put it in
the other cell. Fairly straight forward to do but we will need a bit more
info to hel you.

2 - A bit of slight of hand using the Camera. Check out this link. (you will
also need to use data validation to ensure only one cell is populated at any
given time)
http://j-walk.com/ss/excel/odd/odd04.htm
--
HTH...

Jim Thomlinson


"New user" wrote:

I would like to be able to input a number into Cell 1 and obtain a
calculation in Cell 2 via a formula and equally input a number into Cell 2
and obtain the reciprocal in Cell 1 via the same formula whilst guarding the
formula.

Very many thanks in advance




All times are GMT +1. The time now is 12:26 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com