Data enter in either of 2 cells, results in the other

kckay

Board Regular
Joined
Nov 8, 2010
Messages
134
I have 2 cells: Cell A is for mg/L and Cell B is for lbs.

I would like to enter a value in either Cell A or Cell B (not both) and have a calculated result display in the other cell.

If I enter data in Cell A (mg/L), I would like to have the calculated value of lbs display in Cell B.
If I enter data in Cell B (lbs), I would like to have the calculated value if mg/L display in Cell A.

The calculation for Cell B is Cell A * MGD (from another cell) * 8.34.
The calculation for Cell A is Cell B / (MGD * 8.34).

Is this possible? How would I go about doing this?

Thank you.
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Are you only using 2 cells?

I envision it going like this...

Cell A1 (where you could input Mg/L) and Cell B1 (where you could input the Lbs) Then to the right of that a button you click.

Depending on whether you inputted something in A1 or B1... once you click the button the other cell will self populate...

So if you put 10 in A1, click the button then 8.3454e-6... will populate in B1.... and vice versa, if you put 1 in cell B1 then 119826 will populate in A1.

Does that sound right?
 
Upvote 0

Forum statistics

Threads
1,215,324
Messages
6,124,250
Members
449,149
Latest member
mwdbActuary

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top