+ Reply to Thread
Results 1 to 10 of 10

Search the value in first column and give the corresponding second column value as result

  1. #1
    Forum Contributor
    Join Date
    02-23-2013
    Location
    Bangalore
    MS-Off Ver
    2010
    Posts
    130

    Search the value in first column and give the corresponding second column value as result

    Hi All,

    I have 2 sheets in my workbook.

    1st sheet has 2 columns 1st column with numbers and second column with description.

    in my second sheet, i have first column with numners. Now i need to put formula in second column which will search for that value in 1st column of 1st sheet andif it exists its description from first sheet will be placed in the 2nd column of 2nd sheet...

    Pls help me.

    Thanks.

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Search the value in first column and give the corresponding second column value as res

    In B1 Cell of Sheet2

    =IFERROR(VLOOKUP(A1,Sheet1!A:B,2,FALSE),"")

    Drag it down…


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Forum Contributor
    Join Date
    02-23-2013
    Location
    Bangalore
    MS-Off Ver
    2010
    Posts
    130

    Re: Search the value in first column and give the corresponding second column value as res

    Strange...! it works in my sample sheet but not in my project sheet..! it is not finding the values from first sheet!!

  4. #4
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Search the value in first column and give the corresponding second column value as res

    What result are you getting if you apply the below part alone by ignoring the iferror part

    =VLOOKUP(A1,Sheet1!A:B,2,FALSE)

  5. #5
    Forum Contributor
    Join Date
    02-23-2013
    Location
    Bangalore
    MS-Off Ver
    2010
    Posts
    130

    Re: Search the value in first column and give the corresponding second column value as res

    I am getting #N/A..

    But the value is available in first column of the first sheet!!

  6. #6
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Search the value in first column and give the corresponding second column value as res

    Check whether is there any extra spaces...

  7. #7
    Forum Contributor
    Join Date
    02-23-2013
    Location
    Bangalore
    MS-Off Ver
    2010
    Posts
    130

    Re: Search the value in first column and give the corresponding second column value as res

    Yep it showed the values after saving Thanks

  8. #8
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Search the value in first column and give the corresponding second column value as res

    May be the calculation mode is in Manual Instead of Automatic.

    Change it to Automatic if needed.

    Or press F9 to calculate the workbook manually.

  9. #9
    Forum Contributor
    Join Date
    02-23-2013
    Location
    Bangalore
    MS-Off Ver
    2010
    Posts
    130

    Re: Search the value in first column and give the corresponding second column value as res

    Yes you are correct.. It was set to manual before..!
    Last edited by szpt9m; 11-19-2013 at 06:34 AM.

  10. #10
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Search the value in first column and give the corresponding second column value as res

    Glad you fixed it and thanks for the feedback

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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. [SOLVED] using a max formula on a column with no data to give a Blank result
    By Brentsa in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-02-2013, 05:42 AM
  2. Need 12 column search result
    By reignkystar in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-23-2013, 05:23 AM
  3. [SOLVED] Search Value of column E if exist return value of column B put result in column P
    By hassan khansa in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 02-23-2013, 11:39 AM
  4. Replies: 4
    Last Post: 12-20-2012, 04:33 AM
  5. Row-based conditional search to give a cumulative result
    By harsh2209 in forum Excel General
    Replies: 2
    Last Post: 03-13-2010, 09:30 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