+ Reply to Thread
Results 1 to 3 of 3

match data in two columns, enter info in certain cell

  1. #1
    Registered User
    Join Date
    10-12-2012
    Location
    Philadelphia
    MS-Off Ver
    Excel 2010
    Posts
    2

    match data in two columns, enter info in certain cell

    Hi, I'm new here and fairly new to Excel. I'm not sure if this is a formula or VBA problem that I need help with. In column N, I have a list of 600,000 or so unique ID numbers. In column O, I have a list of 1,000 ID numbers. I want Excel to take a number from column O, find its match in column N, and in the row where it appears in column N, write "Yes" in column P. For example, in O1 is "123456." That number is matched at N1205. In P1205, Excel should write "Yes." Any suggestions? Thanks!

    Matt

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: match data in two columns, enter info in certain cell

    in P1

    =IF(ISNA(MATCH(O1,N$1:N$600000,0)),"","Yes")

    and copy down as far as P600000 (P600,000)
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Registered User
    Join Date
    10-12-2012
    Location
    Philadelphia
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: match data in two columns, enter info in certain cell

    Hi, thanks for the reply! Unfortunately, it seems to be returning the Yes's in the first 1,000 cells, P1-P1000. My problem is that the matched number in column N may appear thousands of rows below the number in column O and I need to place the "Yes" in that corresponding row. This is where I'm getting stuck.
    Last edited by Cutter; 10-15-2012 at 03:59 PM. Reason: Removed whole post quote

+ 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