+ Reply to Thread
Results 1 to 5 of 5

comparing column values

  1. #1
    gall
    Guest

    comparing column values

    I have two columns with product numbers in them. The first column has
    product numbers from the begining of the month. The second column has
    product numbers from the end of the month.

    I would like to compare them against eachother and find all the new product
    numbers. So the new product numbers in the second column.

    I was thinking there might be a function to do this but can't figure this
    out.

    Thanks,
    Tricia Gall

  2. #2
    JMB
    Guest

    RE: comparing column values

    Check help for the match function.

    "gall" wrote:

    > I have two columns with product numbers in them. The first column has
    > product numbers from the begining of the month. The second column has
    > product numbers from the end of the month.
    >
    > I would like to compare them against eachother and find all the new product
    > numbers. So the new product numbers in the second column.
    >
    > I was thinking there might be a function to do this but can't figure this
    > out.
    >
    > Thanks,
    > Tricia Gall


  3. #3
    Max
    Guest

    Re: comparing column values

    One way ..

    Assuming product numbers in cols A & B, from row1 down, where
    Col A = existing product numbers
    Col B = new & existing product numbers (randomly mixed together)

    Put in C1:
    =IF(ISERROR(SMALL(D:D,ROW(A1))),"",INDEX(B:B,MATCH(SMALL(D:D,ROW(A1)),D:D,0)))

    Put in D1:
    =IF(B1="","",IF(ISNUMBER(MATCH(B1,A:A,0)),"",ROW()))

    Select C1:D1, fill down to last row of data in col B

    Col C will auto-extract the new product numbers in col B,
    with all results neatly bunched at the top
    --
    Max
    Singapore
    http://savefile.com/projects/236895
    xdemechanik
    ---
    "gall" wrote:
    > I have two columns with product numbers in them. The first column has
    > product numbers from the begining of the month. The second column has
    > product numbers from the end of the month.
    >
    > I would like to compare them against eachother and find all the new product
    > numbers. So the new product numbers in the second column.
    >
    > I was thinking there might be a function to do this but can't figure this
    > out.
    >
    > Thanks,
    > Tricia Gall


  4. #4
    gall
    Guest

    Re: comparing column values

    Max,
    Thanks!!!!!! It works!!!!!!

    I fully don't understand the formula, but I will sit down and examine it and
    break it down till I fully do!!!!!

    Have a great Holiday Weekend!

    "Max" wrote:

    > One way ..
    >
    > Assuming product numbers in cols A & B, from row1 down, where
    > Col A = existing product numbers
    > Col B = new & existing product numbers (randomly mixed together)
    >
    > Put in C1:
    > =IF(ISERROR(SMALL(D:D,ROW(A1))),"",INDEX(B:B,MATCH(SMALL(D:D,ROW(A1)),D:D,0)))
    >
    > Put in D1:
    > =IF(B1="","",IF(ISNUMBER(MATCH(B1,A:A,0)),"",ROW()))
    >
    > Select C1:D1, fill down to last row of data in col B
    >
    > Col C will auto-extract the new product numbers in col B,
    > with all results neatly bunched at the top
    > --
    > Max
    > Singapore
    > http://savefile.com/projects/236895
    > xdemechanik
    > ---
    > "gall" wrote:
    > > I have two columns with product numbers in them. The first column has
    > > product numbers from the begining of the month. The second column has
    > > product numbers from the end of the month.
    > >
    > > I would like to compare them against eachother and find all the new product
    > > numbers. So the new product numbers in the second column.
    > >
    > > I was thinking there might be a function to do this but can't figure this
    > > out.
    > >
    > > Thanks,
    > > Tricia Gall


  5. #5
    Max
    Guest

    Re: comparing column values

    You're welcome, Tricia !
    Thanks for feedback ..
    --
    Max
    Singapore
    http://savefile.com/projects/236895
    xdemechanik
    ---
    "gall" wrote:
    > Max,
    > Thanks!!!!!! It works!!!!!!
    >
    > I fully don't understand the formula, but I will sit down and examine it and
    > break it down till I fully do!!!!!
    >
    > Have a great Holiday Weekend!


+ 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