Closed Thread
Results 1 to 2 of 2

Compare the two columns and display the 2nd column item as output

  1. #1
    Registered User
    Join Date
    01-12-2013
    Location
    Banglore
    MS-Off Ver
    Excel 2007
    Posts
    11

    Lightbulb Compare the two columns and display the 2nd column item as output

    I have data like this
    NO ID Res
    1 11 yes
    1 12 No
    2 13 No
    2 14 No
    3 15 Yes
    4 16 Yes
    4 17 yes

    I want output like this if(bot are yes),"yes";if(both are no),"no";if(one yes one no),"yes")
    NO ID Res
    1 11 yes
    2 13 No
    3 15 Yes
    4 16 Yes

    please help me

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Compare the two columns and display the 2nd column item as output

    Welcome to the Forum, unfortunately:

    This is a duplicate post and as such does not comply with Rule 5 of our forum rules. This thread will now be closed, you may continue in your other thread.

    Thread Closed.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

Closed 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