+ Reply to Thread
Results 1 to 8 of 8

Thread: LookUp

  1. #1
    Registered User
    Join Date
    11-27-2011
    Location
    USA
    MS-Off Ver
    Mac Excel 2011
    Posts
    4

    LookUp

    Hi,
    i have a table in two sheets in same workbook. I want to check whether the Column A items in sheet 3 are present in column A of Sheet 2, if yes, i want them to get shorted with either true or false or in same order with ref (Column A of Sheet3). Since, i have 2370 items in both column As' of sheet 2and 3 so , i am not sure how it will work.

    Thanks

  2. #2
    Forum Guru darkyam's Avatar
    Join Date
    03-05-2008
    Location
    Colorado, US
    MS-Off Ver
    2007
    Posts
    2,170

    Re: LookUp

    I'm not sure I follow. Could you please upload an example workbook with dummy data (but with the exact same format), along with a few desired results? Thanks.
    Life is about perseverance. Remember: today's mighty oak tree is just yesterday's nut that held its ground.

    If you like a post, please rate it with the scales icon (top right).
    If you feel really indebted, please consider a donation to charity, such as Feed the Children or Habitat for Humanity.

  3. #3
    Registered User
    Join Date
    11-27-2011
    Location
    USA
    MS-Off Ver
    Mac Excel 2011
    Posts
    4

    Re: LookUp

    Sorry for the delay and thanks for your concern.
    I am attaching the dummy sheet, hope that makes some sense to you.
    Attached Files Attached Files

  4. #4
    Forum Guru darkyam's Avatar
    Join Date
    03-05-2008
    Location
    Colorado, US
    MS-Off Ver
    2007
    Posts
    2,170

    Re: LookUp

    I understand the first part, but don't get the second. In sheet1, B2 and down, put =IF(ISERROR(MATCH(A2,Sheet2!A:A,0)),MAX(Sheet1!$B$1:B1)+1,""). Then in G3 and down, put =INDEX(A:A,MATCH(ROWS($G$3:$G3),B:B,0)). This will return the numbers that are not in Sheet2!A.

    I didn't understand this line, though:
    Also I want to put the vlaues of C1 of sheet 2 in front of the match in sheet1, e.g row20.
    Can you give an example of the precise result you want and where you want it?
    Life is about perseverance. Remember: today's mighty oak tree is just yesterday's nut that held its ground.

    If you like a post, please rate it with the scales icon (top right).
    If you feel really indebted, please consider a donation to charity, such as Feed the Children or Habitat for Humanity.

  5. #5
    Registered User
    Join Date
    11-27-2011
    Location
    USA
    MS-Off Ver
    Mac Excel 2011
    Posts
    4

    Re: LookUp

    That means that if you se the C1 in sheet 2 has corresponding values for the numbers in B1. So if i find the math/same number in A1 than i want to put the same alphabetical value in front of number present in A1.

    Does it makes sense?

    Thanks

  6. #6
    Forum Guru darkyam's Avatar
    Join Date
    03-05-2008
    Location
    Colorado, US
    MS-Off Ver
    2007
    Posts
    2,170

    Re: LookUp

    Try =IFERROR(VLOOKUP(A2,Sheet2!A:C,3,0),"")
    Life is about perseverance. Remember: today's mighty oak tree is just yesterday's nut that held its ground.

    If you like a post, please rate it with the scales icon (top right).
    If you feel really indebted, please consider a donation to charity, such as Feed the Children or Habitat for Humanity.

  7. #7
    Registered User
    Join Date
    11-27-2011
    Location
    USA
    MS-Off Ver
    Mac Excel 2011
    Posts
    4

    Re: LookUp

    it is giving me some short of numerical value.
    What does that 3 stands for?
    Would you mind to read that formula for me,meaning i want to know what that formula says.
    Sorry, i m new to such world of excel.
    Thanks

  8. #8
    Forum Guru darkyam's Avatar
    Join Date
    03-05-2008
    Location
    Colorado, US
    MS-Off Ver
    2007
    Posts
    2,170

    Re: LookUp

    The first value is what it is looking up in the table. The second is the range in which it is looking (or, more specifically, it looks in the first column of that range). The 3 tells the formula which column to return the value from. In other words, with a range of A:C, a value of three tells the formula to match the value to column A and return the value on that row from column C. The 0 means that the value it's looking up has to match a value in A exactly. In other words, 1 does not equal 1.0000001. You could use 1 as the last argument to have it look up the closest value that is not greater than the lookup value. (TRUE and FALSE can replace 1 and 0, respectively.)
    Life is about perseverance. Remember: today's mighty oak tree is just yesterday's nut that held its ground.

    If you like a post, please rate it with the scales icon (top right).
    If you feel really indebted, please consider a donation to charity, such as Feed the Children or Habitat for Humanity.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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.2.0