+ Reply to Thread
Results 1 to 5 of 5

Compare two lists with two variables

Hybrid View

  1. #1
    John
    Guest

    Compare two lists with two variables

    If I wanted to check that the Surname AND the Firstnames were the same
    in each of four columns,
    what changes would I make? Ideally I would wwish that the output was as
    below:-

    Column A Column B Column C Column D
    Surname Forename Common entry Surname Common entry Forname

    Wilson Bob Wilson
    Bob



    Jonah


  2. #2
    KL
    Guest

    Re: Compare two lists with two variables

    Hi John,

    How about this ARRAY formula (Ctrl+Shift+Enter):

    =AND(A2:B2=C2:D2)

    Regards,
    KL


    "John" <john.scott@vrigin.net> wrote in message
    news:4323319D.83FF48D4@vrigin.net...
    > If I wanted to check that the Surname AND the Firstnames were the same
    > in each of four columns,
    > what changes would I make? Ideally I would wwish that the output was as
    > below:-
    >
    > Column A Column B Column C Column D
    > Surname Forename Common entry Surname Common entry Forname
    >
    > Wilson Bob Wilson
    > Bob
    >
    >
    >
    > Jonah
    >




  3. #3
    John
    Guest

    Re: Compare two lists with two variables

    I am not sure what this tells me. Please can you explain the
    (Ctrl+Shift+Enter) and where do I put the formula?

    John
    -----------------

    KL wrote:

    > Hi John,
    >
    > How about this ARRAY formula (Ctrl+Shift+Enter):
    >
    > =AND(A2:B2=C2:D2)
    >
    > Regards,
    > KL
    >
    > "John" <john.scott@vrigin.net> wrote in message
    > news:4323319D.83FF48D4@vrigin.net...
    > > If I wanted to check that the Surname AND the Firstnames were the same
    > > in each of four columns,
    > > what changes would I make? Ideally I would wwish that the output was as
    > > below:-
    > >
    > > Column A Column B Column C Column D
    > > Surname Forename Common entry Surname Common entry Forname
    > >
    > > Wilson Bob Wilson
    > > Bob
    > >
    > >
    > >
    > > Jonah
    > >



  4. #4
    KL
    Guest

    Re: Compare two lists with two variables

    This will give you TRUE if the pairs are identical and FALSE if they are
    not. "Ctrl+Shift+Enter" hasn't more explanation than that it is necessary
    with (some) array formulas (formulas that operate with arrays, not single
    values).

    Regards,
    KL


    "John" <john.scott@vrigin.net> wrote in message
    news:43241592.9C75245A@vrigin.net...
    >I am not sure what this tells me. Please can you explain the
    > (Ctrl+Shift+Enter) and where do I put the formula?
    >
    > John
    > -----------------
    >
    > KL wrote:
    >
    >> Hi John,
    >>
    >> How about this ARRAY formula (Ctrl+Shift+Enter):
    >>
    >> =AND(A2:B2=C2:D2)
    >>
    >> Regards,
    >> KL
    >>
    >> "John" <john.scott@vrigin.net> wrote in message
    >> news:4323319D.83FF48D4@vrigin.net...
    >> > If I wanted to check that the Surname AND the Firstnames were the same
    >> > in each of four columns,
    >> > what changes would I make? Ideally I would wwish that the output was
    >> > as
    >> > below:-
    >> >
    >> > Column A Column B Column C Column D
    >> > Surname Forename Common entry Surname Common entry
    >> > Forname
    >> >
    >> > Wilson Bob Wilson
    >> > Bob
    >> >
    >> >
    >> >
    >> > Jonah
    >> >

    >




  5. #5
    Biff
    Guest

    Re: Compare two lists with two variables

    Hi!

    Try this:

    =A2&B2=C2&D2

    Biff

    "John" <john.scott@vrigin.net> wrote in message
    news:4323319D.83FF48D4@vrigin.net...
    > If I wanted to check that the Surname AND the Firstnames were the same
    > in each of four columns,
    > what changes would I make? Ideally I would wwish that the output was as
    > below:-
    >
    > Column A Column B Column C Column D
    > Surname Forename Common entry Surname Common entry Forname
    >
    > Wilson Bob Wilson
    > Bob
    >
    >
    >
    > Jonah
    >




+ 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