+ Reply to Thread
Results 1 to 2 of 2

search and showing results

  1. #1
    Registered User
    Join Date
    06-17-2007
    Posts
    18

    search a column and show results in seperate sheet

    need some help please

    sheet 1 has my data in columns a-e

    in sheet 2, i want to input data into a cell that will match data in column b (a unique number including letters) in sheet 1. how do i get sheet 2 to show the rest of the data in the row at matches what i have inputted?
    Last edited by gbWildy; 06-26-2007 at 01:00 PM.

  2. #2
    Valued Forum Contributor
    Join Date
    02-09-2006
    Location
    Melbourne, Australia
    MS-Off Ver
    Office 2016
    Posts
    1,077
    Assuming you type the code into column A on sheet2, in column B use this formula:
    =VLOOKUP($A1,SHEET1!$B$1:$E$10,2,FALSE)
    VLOOKUP will search column A of sheet1 and find the first instance of the code you entered in sheet2!A1 and return the data from the matching row in column C of sheet1. Adjust the ranges to suit your data, then fill the formula right to fill columns C:E. You will also need to adjust the column number in the formula (2) so that in columns C, D & E it returns columns 3, 4 & 5 from sheet1. Next, fill the formula down as far as necessary.

    Hope this helps.
    Trish in Oz
    -------------
    A problem well defined is a puzzle half solved


    If you attach a sample of your workbook it will be easier to find a solution. Remember to remove/replace sensitive data before uploading the file. Look here if you need help with attachments:
    http://www.excelforum.com/faq.php?fa...b3_attachments

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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