+ Reply to Thread
Results 1 to 7 of 7

Vlookup function to compare Coumn2 values with Column1 and Column2 shows not present value

  1. #1
    Registered User
    Join Date
    07-01-2014
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    4

    Vlookup function to compare Coumn2 values with Column1 and Column2 shows not present value

    Column1 Column2 Not Present
    A X
    B Y
    C A
    D G
    E R
    F S
    G T

    Please compare Coumn2 values with Column1 and populate the non-present column2's values in column named 'Non present'.Kindly help.

    I'm new to complex functions in excel 2007. Could someone let me know how to achieve this please?

    Thanks alot!

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Vlookup function to compare Coumn2 values with Column1 and Column2 shows not present v

    So if the value from column 2(B) does not exist in column 1(A), then show "Not Present" ?

    Try

    =IF(ISNA(MATCH(B1,A$1:A$100,0)),"Not Present")

  3. #3
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,648

    Re: Vlookup function to compare Coumn2 values with Column1 and Column2 shows not present v

    Try this Array Formula which requires confirmation with Ctrl+Shift+Enter instead of just Enter.

    In C2
    Please Login or Register  to view this content.
    and then copy down until you get blank cells.

    Is this what you are trying to achieve?
    Attached Files Attached Files
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  4. #4
    Registered User
    Join Date
    07-01-2014
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Vlookup function to compare Coumn2 values with Column1 and Column2 shows not present v

    It's giving "Not present" to me, for all the coumn2's values. The following I've tried

    =IF(ISNA(MATCH(H17,G17:G23,0)),"Not Present")

  5. #5
    Registered User
    Join Date
    07-01-2014
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Vlookup function to compare Coumn2 values with Column1 and Column2 shows not present v

    yes sktneer! Thanks alot, I apply on my complex data & give my feedback here soon!

  6. #6
    Registered User
    Join Date
    07-01-2014
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Vlookup function to compare Coumn2 values with Column1 and Column2 shows not present v

    Sktneer, I'm applying this formula on a table. The content I've mentioned here is formatted as table already. So for the arrays, it needs to coulmn names.In that case,how would I achieve please? Thanks a lot for your help!

  7. #7
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Vlookup function to compare Coumn2 values with Column1 and Column2 shows not present v

    You need to lock the Range in column G with $
    Quote Originally Posted by nnav View Post
    It's giving "Not present" to me, for all the coumn2's values. The following I've tried

    =IF(ISNA(MATCH(H17,G$17:G$23,0)),"Not Present")
    $

+ 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. Automatically sort sheet by column2 when any value in column2 is changed
    By babbeleme1 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-08-2013, 07:50 PM
  2. [SOLVED] Counting cells based on date in column1 and an alpha-numeric value in column2
    By JStreck in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-24-2013, 12:47 PM
  3. Delete row containing column1 column2 etc
    By lemonstar in forum Excel General
    Replies: 2
    Last Post: 09-26-2011, 11:26 AM
  4. Replies: 4
    Last Post: 08-03-2011, 08:22 PM
  5. compare column1 with column2
    By myguess21 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 12-12-2005, 03:55 PM

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.6.0 RC 1