excel - Auto-filling a table column with another tables' column? -


having table listing definitions identified id column, create new table same id column without copying/pasting it... there way autofill or reference table column in 1 excel 2010 ?

basically, have table a:

id    | definition ------.------------ foo-1 | text foo-2 | text bar-1 | text bar-2 | text 

how can generate table b referencing same table a's id columns - without copying entire column in :

table id column | whatever ------------------.------------ table id column | text table id column | text table id column | text table id column | text ... 

as database, table b id column foreign key a...

thx !

i create new table same id column without copying/pasting it.

let's suppose following:

  1. table on sheet1, under columns , b,
  2. table has 2000 rows,
  3. you want ids under table a's column in table b's column a,
  4. tables b on sheet2, under columns , b.
  5. table a's id in cell a2000 = bar-2

do following:

go sheet2, , type on cell a2000:

=bar-2 

still on sheet2, give click left mouse button on cell a1.then, press: ctrl + shift + down_arrow select cells a1 a2000.

click on "home" -> "find & select" --> "replace"

leave field "find what" blank , type on field "replace with":

=sheet1!a1:a2000 

enter image description here

click on replace all. done!!


Comments

Popular posts from this blog

php - mySql Join with 4 tables -

css - Text drops down with smaller window -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -