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?
 

Some videos you may like

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.

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
 

Watch MrExcel Video

Forum statistics

Threads
1,118,287
Messages
5,571,318
Members
412,382
Latest member
Langtn02
Top