Is it possible to link cell data?

mbrittb

Board Regular
Joined
Jul 24, 2002
Messages
62
Maybe I have called this the wrong thing. What I am wanting to do is to "link" two cells together such that if I type data into one of them (either one) that same data is "replicated" in the other.

Is it possible to do this?
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.

daniels012

Well-known Member
Joined
Jan 13, 2005
Messages
5,219
I am not sure if you mean this as simple as it seems?

In cell B1 type "=A1"
Then whatever you type in A1 it will appear in B1.

Michael
 

shajueasow

Well-known Member
Joined
Oct 7, 2004
Messages
1,926
Hi Michael,
Then what will happen if mbrittb is entering value in B1 itself?
 

daniels012

Well-known Member
Joined
Jan 13, 2005
Messages
5,219
More expanation is needed. Why do you need to type anything in B1?

Maybe enter something in A1 or B1, then if you want you could have in the C1 cell =CONCATENATE(A1," ",B1)


Michael
 

shajueasow

Well-known Member
Joined
Oct 7, 2004
Messages
1,926

ADVERTISEMENT

Hi Michael,
Because it is said by mbrittb that:
if I type data into one of them (either one) that same data is "replicated" in the other.
 

shajueasow

Well-known Member
Joined
Oct 7, 2004
Messages
1,926

ADVERTISEMENT

As a workaround, (if there is no other way....) try this.
Suppose you need to have the same value in A1 and B1. Use the formula "=C1" in both of them and enter the value in C1.
 

mbrittb00

Board Regular
Joined
Feb 27, 2005
Messages
77
Yeah, I had already thought about that, but I was trying to avoid creating ANOTHER sheet just to enter the data.

I figued it probably wasn't possible, but I thought I would check with those that are more Excel savy than I am .

Thanks,
 

acw

MrExcel MVP
Joined
Feb 13, 2004
Messages
4,814
Hi

How about a sheet event?
Code:
Private Sub Worksheet_Change(ByVal Target As Range)
 If Target.Address = "$A$1" Then Range("b1") = Target.Value
 If Target.Address = "$B$1" Then Range("a1") = Target.Value
End Sub

Put a number in A1 and it will appear in B1. Put a number in B1 and it will appear in A1.


Tony
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,053
Messages
5,835,149
Members
430,342
Latest member
Sailingexcel

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
Top