+ Reply to Thread
Results 1 to 4 of 4

finding new and duplicate part numbers

  1. #1
    Registered User
    Join Date
    02-10-2010
    Location
    moncton canada
    MS-Off Ver
    Excel 2003
    Posts
    1

    finding new and duplicate part numbers

    =IF(ISNA(VLOOKUP(C1,$A$1:$A$31667,1,FALSE)),"NO","YES")

    I have part numbers in both column A and Column C. I'm trying to find out which part numbers in column C are new or if they already exist in Column A

    Above is my formula but it will only do one cell at a time. if I try and copy and paste, it says something about the size and it will only put a yes or no in one cell. Either I'm doing something wrong or there is a different formula that will put a yes or no in all cells in cloumn B

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: finding new and duplicate part numbers

    thread moved to Excel Worksheet Functions from Outlook Forum

  3. #3
    Forum Contributor
    Join Date
    01-28-2010
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2003
    Posts
    157

    Re: finding new and duplicate part numbers

    If the Column C values being tested are in C1:C5000 then select B1 then click in the name box on the left of the Formula bar and type B5000. Hold down the Shift key while you press the Enter key. This selects B1:B5000. In the Formula bar type...
    =IF(ISNA(VLOOKUP(C1:C5000,A1:A31667,1,0)),"NO","YES")
    Then press Ctrl+Shift+Enter because it is an array formula.
    Edit: On second thoughts this is probably not the solution. What exactly is the message received when you try to copy/paste?
    Are there any merged cells getting in the way in column B?
    Beau Nydal
    Last edited by beaunydal; 02-13-2010 at 08:48 AM.

  4. #4
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    Re: finding new and duplicate part numbers

    Above is my formula but it will only do one cell at a time. if I try and copy and paste, it says something about the size and it will only put a yes or no in one cell.
    There is nothing wrong with the formula. The problem is that your copy and paste range are not the same size as suggested by your comment.

    To copy the formula down column-B, enter the formula into cell B1 then double-click the fill-handle on the cell pointer and Excel will auto-fill the formula down column-B for as many rows as there are data in either columns A or C.

    Note: the "fill-handle" is the tiny square at the lower right of the cell pointer. The mouse pointer will change to a " + " shape when you hover over the fill handle.

    Note2: if there are blanks in columns A or C, Excel will interpret this as then end of the date and NOT fill-down the remaining row. You may want to sort and put blanks at the bottom.
    Palmetto

    Do you know . . . ?

    You can leave feedback and add to the reputation of all who contributed a helpful response to your solution by clicking the star icon located at the left in one of their post in this thread.

+ 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