+ Reply to Thread
Results 1 to 7 of 7

Finding the odd one out

  1. #1
    Registered User
    Join Date
    03-16-2015
    Location
    Saudi Arabia
    MS-Off Ver
    2010
    Posts
    26

    Question Finding the odd one out

    Hi

    Need help.

    I have attached a working sheet. What I want to do is, you will see 2 column with NAME and AGE. Both containing same names but different age.

    So I want a formula in column G that If the age of the pupil is SAME e.g. JOHN is 10 in both columns, Than DO NOTHING, however if the age is different like for PETER than in column G, write the complete thing including name and age so the column G should contain PETER, 15 ...because the age in other column for Peter is 28.

    Please advice

    Thanks
    Attached Files Attached Files

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Finding the odd one out

    Will the matching names always be in the same row?
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Finding the odd one out

    If so, this will work:

    =IF(A4&B4=D4&E4,"",A4&", "&B4)

  4. #4
    Registered User
    Join Date
    03-16-2015
    Location
    Saudi Arabia
    MS-Off Ver
    2010
    Posts
    26

    Re: Finding the odd one out

    Quote Originally Posted by Glenn Kennedy View Post
    Will the matching names always be in the same row?
    Hi Glenn,

    Thanks for the reply.
    No. It will not always be in same row.

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Finding the odd one out

    OK then. Use this Array formula, which must be confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer. Press F2 on that cell and try again.

    =IF(ISNUMBER(MATCH(A4&B4,$D$4:$D$6&$E$4:$E$6,0)),"",A4&", "&B4)
    Attached Files Attached Files
    Last edited by Glenn Kennedy; 03-31-2015 at 02:41 AM. Reason: Attachment added

  6. #6
    Registered User
    Join Date
    03-16-2015
    Location
    Saudi Arabia
    MS-Off Ver
    2010
    Posts
    26

    Re: Finding the odd one out

    Hi Glenn,

    MANY THANKS! This worked ! you are a star ! :D

  7. #7
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Finding the odd one out

    Glad to have helped! If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. It'd also be appreciated if you were to click the add Reputation button at the foot of any of the posts of those who helped you reach a solution.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Finding specific data in cell comments and finding the line# in comments it appears on
    By tv69 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 11-11-2014, 04:26 PM
  2. Finding name then finding reoccurring numbers
    By top_dog in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 02-26-2014, 05:27 PM
  3. Macro Finding / Finding a Sheet containing
    By DakotaDK810 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-25-2012, 12:17 AM
  4. Replies: 10
    Last Post: 12-17-2009, 02:00 AM
  5. Replies: 3
    Last Post: 03-02-2007, 07:13 AM

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