+ Reply to Thread
Results 1 to 8 of 8

Please help . how to fetch for detail from another sheet for a specific value in first

  1. #1
    Registered User
    Join Date
    10-01-2014
    Location
    UK
    MS-Off Ver
    2013
    Posts
    41

    Please help . how to fetch for detail from another sheet for a specific value in first

    i have 2 worksheets

    First worksheet contains 2 columns - machinename and problems -totally 150 enntries
    2nd sheet contains 3 columns machinename, owner and location -totally 10000 entries

    I need to be able to fetch owner,locations for all machinenames in sheet 1

    Please share the steps or formula for the same.

  2. #2
    Registered User
    Join Date
    10-01-2014
    Location
    UK
    MS-Off Ver
    2013
    Posts
    41

    Re: Please help . how to fetch for detail from another sheet for a specific value in fi

    please provide update , this is quite urgent

  3. #3
    Registered User
    Join Date
    12-10-2014
    Location
    Canada
    MS-Off Ver
    2007
    Posts
    24

    Re: Please help . how to fetch for detail from another sheet for a specific value in fi

    You would have to use the function VLOOKUP

    Syntax

    VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup])

    lookup_value is the string you are searching for

    table_array is the sheet you are looking in but you have to specify the range. exemple : Sheet2!$A$2:$B$65535

    col_index is the index of the column wich to be used when the value is found

    So something along the lines of : =VLOOKUP(whatever your are looking for, Sheet2!A2:B65535, 2, FALSE)
    If you need the value from another column use another number in the col_index

    I am no expert but you should be able to figure out what you need from that
    Last edited by Symlink; 12-11-2014 at 09:21 AM.

  4. #4
    Registered User
    Join Date
    10-01-2014
    Location
    UK
    MS-Off Ver
    2013
    Posts
    41

    Re: Please help . how to fetch for detail from another sheet for a specific value in fi

    Please show me on an example sheet as to who you would do it

  5. #5
    Registered User
    Join Date
    10-01-2014
    Location
    UK
    MS-Off Ver
    2013
    Posts
    41

    Re: Please help . how to fetch for detail from another sheet for a specific value in fi

    hello please provide an update on this

  6. #6
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Please help . how to fetch for detail from another sheet for a specific value in fi

    If the data on sheet1 starts in A2 with the machinename and problem in B2 and sheet2 starts in A2 with the machinename, B2 has the owner, C2 has the location, add in C1 the title OWNER and in D1 LOCATION.

    On Sheet1 enter this formula in C2 and copy across to D2 then copy down the length of your data:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    I have added extra rows to accommodate extra data not mentioned.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  7. #7
    Registered User
    Join Date
    10-01-2014
    Location
    UK
    MS-Off Ver
    2013
    Posts
    41

    Re: Please help . how to fetch for detail from another sheet for a specific value in fi

    Hi again

    the above does not work and gives N/A error . please find attached the file
    Attached Files Attached Files

  8. #8
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Please help . how to fetch for detail from another sheet for a specific value in fi

    The formula that I provided in msg #6 is wrong.
    This works and is demonstrated in the attached file. The yellow highlighted entries don't have matches on Sheet2.

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    The first formula corrected is:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    The second file uses the corrected version of the first formula.
    Attached Files Attached Files
    Last edited by newdoverman; 04-01-2015 at 06:00 PM.

+ 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. Fetch specific range lying between two cell values.
    By GDM69 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-26-2014, 11:06 AM
  2. Change detail in specific column
    By Willie28 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-02-2012, 07:57 AM
  3. Fetch data from Access table in Excelsheet in specific format
    By aman1234 in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 06-17-2012, 05:31 AM
  4. Copy specific detail from one spreadsheet to another
    By Noel2008 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-09-2008, 04:35 AM
  5. Open Word and fetch specific data
    By pikapika13 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-31-2006, 04:08 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