Pull row of data from one place in spreadsheet to another

85,714

Solution 1

In Excel VLOOKUP "Searches for a value in the first column of a table array and returns a value in the same row from another column in the table array."

Taking your info as posted, I created a table on the first sheet and this on the second sheet;

enter image description here

=VLOOKUP(A2,Sheet1!A1:D6,2,FALSE)

Type the name into A2 and B2 will look up the color value for the name "Dagger" in the first column of the first sheet. You will notice the array Sheet1!A1:D6 given in the formula, that is your table on the first sheet. The number 2 is the column to get the data from. So to get the size, change the column index to 3 and so on.

If you change the data in the table on the first sheet, the data will update.

Solution 2

In Google Spreadsheets, you can go about this in many ways. I like to use the FILTER function. Use the following syntax:

=FILTER(Sheet1!A2:A;Sheet1!A2:A=A2)

You must (may) start at A2 to skip the headers.

Share:
85,714

Related videos on Youtube

bookcasey
Author by

bookcasey

Updated on September 18, 2022

Comments

  • bookcasey
    bookcasey over 1 year

    I have a list of names and their assorted properties.

    Spreadsheet Data

    I am trying to find a way to quickly move an entire row's worth of data into a different sheet so I can manipulate it.

    Moving a Row

    Currently I can accomplish this by copy and pasting the entire row, but this is not elegant nor dynamic (the number in blue does not update with this method):

    Copy and Paste is not Dynamic

    My ideal solution: A name is typed into the "Name" column. The spreadsheet program pulls the associated row from the "main" sheet into the new sheet.

    Autocomplete and autofill row

    I am currently using Numbers.app, but am curious if this is possible in Excel, OpenOffice Calc, Google Docs, or any other spreadsheet program. Thank you.

    • techturtle
      techturtle over 11 years
      What you're looking to do sounds more like database work than spreadsheet.
    • CharlieRB
      CharlieRB over 11 years
      You've tagged a lot, so which program are you using? As far as Excel, have you tried VLOOKUP?
    • datatoo
      datatoo over 11 years
      you want updates in the source sheet to stay connected, or a formula in the source sheet to be duplicated in the target sheet?