+ Reply to Thread
Results 1 to 6 of 6

Autofill data from one sheet into another

  1. #1
    Registered User
    Join Date
    08-12-2015
    Location
    Kosovo
    MS-Off Ver
    2007
    Posts
    3

    Autofill data from one sheet into another

    Hello,

    I would like to create sheet1 and sheet2 and create some data in sheet1.
    When open sheet2 and i search at A row i want B and C to be filled automatically

    SHEET1
    sheet1.png

    SHEET2
    sheet2.png


    Book1.xls
    Book1.xlsx

    Thank You!
    Last edited by aarriiaann; 08-12-2015 at 10:11 AM.

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,819

    Re: Autofill data from one sheet into another

    Don't attach pictures of your worksheets - attach the Excel workbook itself (suitably sanitised).

    Pete

  3. #3
    Registered User
    Join Date
    08-12-2015
    Location
    Kosovo
    MS-Off Ver
    2007
    Posts
    3

    Re: Autofill data from one sheet into another

    Worksheet added to post

  4. #4
    Forum Expert
    Join Date
    03-20-2015
    Location
    Primarily UK, sometimes NL
    MS-Off Ver
    Work: Office 365 / Home: Office 2010
    Posts
    2,405

    Re: Autofill data from one sheet into another

    Hi,

    On Sheet2 in J9 enter:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    and in J10 enter:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    You may need to replace commas , with semi-colons ; dependent on your regional settings.

    When you now enter 'Test' in J8, J9 will return 'Value1' and J10 will return 'VT1'. If you enter 'Test2' you'll get 'Value3' and 'VT3', etc.

    As this is only 'test' data, you'll probably want to amend the formulae with references to the correct data, so here's how VLOOKUP works:
    VLOOKUP(what you're looking up,where the data is stored,which column you want to get a return from).
    In this file,
    what you're looking up is the value in J8.
    where the data is stored is in the range Sheet1!A3:C7 - that is, all the columns containing the data you're looking up and the data you want to find.
    which column you want is counted from the first column - the first column contains the data you're checking for (e.g. 'Test') so in this file you want returns from columns 2 and 3. Note that these aren't related to column labels - if the table was in columns DEF, you would still want to use '2' and '3'.

    Hope that helps.

    Regards,
    Aardigspook

    If your problem is solved, please go to 'Thread Tools' above your first post and 'Mark Thread as Solved'.
    You don't need to give me rep if I helped, but thanks are appreciated.

  5. #5
    Registered User
    Join Date
    08-12-2015
    Location
    Kosovo
    MS-Off Ver
    2007
    Posts
    3

    Re: Autofill data from one sheet into another

    Quote Originally Posted by Aardigspook View Post
    Hi,

    On Sheet2 in J9 enter:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    and in J10 enter:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    You may need to replace commas , with semi-colons ; dependent on your regional settings.

    When you now enter 'Test' in J8, J9 will return 'Value1' and J10 will return 'VT1'. If you enter 'Test2' you'll get 'Value3' and 'VT3', etc.

    As this is only 'test' data, you'll probably want to amend the formulae with references to the correct data, so here's how VLOOKUP works:
    VLOOKUP(what you're looking up,where the data is stored,which column you want to get a return from).
    In this file,
    what you're looking up is the value in J8.
    where the data is stored is in the range Sheet1!A3:C7 - that is, all the columns containing the data you're looking up and the data you want to find.
    which column you want is counted from the first column - the first column contains the data you're checking for (e.g. 'Test') so in this file you want returns from columns 2 and 3. Note that these aren't related to column labels - if the table was in columns DEF, you would still want to use '2' and '3'.

    Hope that helps.

    Regards,
    Aardigspook

    If your problem is solved, please go to 'Thread Tools' above your first post and 'Mark Thread as Solved'.
    You don't need to give me rep if I helped, but thanks are appreciated.
    Thank You! This solved my problem.

  6. #6
    Forum Expert
    Join Date
    03-20-2015
    Location
    Primarily UK, sometimes NL
    MS-Off Ver
    Work: Office 365 / Home: Office 2010
    Posts
    2,405

    Re: Autofill data from one sheet into another

    You're welcome.

    Regards,
    Aardigspook

    If your problem is solved, please go to 'Thread Tools' above your first post and 'Mark Thread as Solved'.
    You don't need to give me rep if I helped, but thanks are appreciated.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Autofill base on Active Cell and Autofill by row count of another sheet
    By enyak in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-19-2014, 10:06 PM
  2. Can't autofill data in workbook from sheet to sheet
    By sn.henderson in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-18-2010, 01:01 PM
  3. How to autofill data from one sheet into another
    By RagDyer in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 09-06-2005, 09:05 PM
  4. [SOLVED] How to autofill data from one sheet into another
    By kate in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 06:05 PM
  5. [SOLVED] How to autofill data from one sheet into another
    By RagDyer in forum Excel Formulas & Functions
    Replies: 20
    Last Post: 09-06-2005, 05:05 PM
  6. [SOLVED] How to autofill data from one sheet into another
    By kate in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 PM
  7. Replies: 0
    Last Post: 03-02-2005, 12:06 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1