+ Reply to Thread
Results 1 to 4 of 4

checking if two arrays are equal

  1. #1
    Knox
    Guest

    checking if two arrays are equal

    I thought I could do an if statement with an array formula to check if two
    columns of data are exactly even. For instance {=IF(A:A=B:B,"OK","NO")}, but
    it gives an error value. Anyone know a way to do this? thank you

  2. #2
    Ardus Petus
    Guest

    Re: checking if two arrays are equal

    You may enter:
    =A:A=B:B
    and validate as Array formula
    This will return FALSE or TRUE, which you can convert to NO/OK in another
    cell

    HTH
    --
    AP

    "Knox" <Knox@discussions.microsoft.com> a écrit dans le message de news:
    AEB153C3-EDBC-4652-A221-44999EC120C2@microsoft.com...
    >I thought I could do an if statement with an array formula to check if two
    > columns of data are exactly even. For instance {=IF(A:A=B:B,"OK","NO")},
    > but
    > it gives an error value. Anyone know a way to do this? thank you




  3. #3
    Knox
    Guest

    Re: checking if two arrays are equal

    awesome, thank you!

    "Ardus Petus" wrote:

    > You may enter:
    > =A:A=B:B
    > and validate as Array formula
    > This will return FALSE or TRUE, which you can convert to NO/OK in another
    > cell
    >
    > HTH
    > --
    > AP
    >
    > "Knox" <Knox@discussions.microsoft.com> a écrit dans le message de news:
    > AEB153C3-EDBC-4652-A221-44999EC120C2@microsoft.com...
    > >I thought I could do an if statement with an array formula to check if two
    > > columns of data are exactly even. For instance {=IF(A:A=B:B,"OK","NO")},
    > > but
    > > it gives an error value. Anyone know a way to do this? thank you

    >
    >
    >


  4. #4
    bplumhoff@gmail.com
    Guest

    Re: checking if two arrays are equal

    Hello,

    =SUMPRODUCT(--(R1:R1000=S1:S1000))=1000

    HTH,
    Bernd


+ 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