+ Reply to Thread
Results 1 to 5 of 5

Compare data in column result in row as yes or no formula

  1. #1
    Forum Contributor
    Join Date
    07-23-2013
    Location
    bangalore
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    143

    Compare data in column result in row as yes or no formula

    Hi experts

    I have set of data in range with column of 4 CITY,COUNTRY,REGION,BUSINESS in the business column contains 2bd,3bd,4bd,5bd

    i have another set of data range with column CITY,COUNTRY,REGION, and 2BD 3BD 4BD 5BD i want result in last four column
    compare with range 1...... if exist city,country,region in set1 then businss is 2bd in the result 2bd YES REST OF VALUES ARE NO.

    i want result expected with compare data set of data result as YES OR NO

    find the attachment you may get understand..
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    Newcastle, Australia
    MS-Off Ver
    Excel 2007 and Excel 2010
    Posts
    1,429

    Re: Compare data in column result in row as yes or no formula

    Hi,

    In cell J2, enter this formula:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Then drag it across and down.

    Hope this helps

  3. #3
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Compare data in column result in row as yes or no formula

    In J3 and copy down and across, try this.

    =IF(SUMPRODUCT(($A$2:$A$5=$G3)*($B$2:$B$5=$H3)*($C$2:$C$5=$I3)*($D$2:$D$5=J$2)),"YES","NO")
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  4. #4
    Forum Contributor
    Join Date
    07-23-2013
    Location
    bangalore
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    143

    Re: Compare data in column result in row as yes or no formula

    Nice Dude Perfect Piece of work......thanks alot

  5. #5
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    Newcastle, Australia
    MS-Off Ver
    Excel 2007 and Excel 2010
    Posts
    1,429

    Re: Compare data in column result in row as yes or no formula

    Hi John,

    Just curious which answer you used?

    Also, please don't forget to click on the * next to any post that you feel has been of great assistance to you

    Have a great day

+ 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. Compare column in separate workbook but only write result if different
    By Alimac70 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-18-2013, 08:25 AM
  2. Replies: 3
    Last Post: 06-06-2013, 12:51 PM
  3. VBA to compare data from two sheets and return value from column based on result.
    By twanbiz in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-19-2013, 11:33 AM
  4. [SOLVED] Compare text in column B, C match with sheet 2 A:A and get result in E
    By Daniel Chang in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-03-2013, 02:21 AM
  5. compare 2 columns and result in 3th column
    By danusko in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-08-2009, 06:53 AM

Tags for this Thread

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