Closed Thread
Results 1 to 4 of 4

how to check two range of data and compare them based on a cell in other column

  1. #1
    Registered User
    Join Date
    08-24-2012
    Location
    Iran, Tehran
    MS-Off Ver
    Excel 2010
    Posts
    9

    how to check two range of data and compare them based on a cell in other column

    Hi;

    In attached I have 3 columns, and i want to check and compdare data in A and compare with all related in C ,based on B clumn which contains "A".
    For example all cells in A which contains "abcd0002" and have "A" in B column, should have "Hold" in C column.
    File is attached.

    Thanks in advence.cheking.xlsx

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2506 Win 11
    Posts
    24,799

    Re: how to check two range of data and compare them based on a cell in other column

    I don't believe that you have given us all the logic. You have Hold in column C when abcd0002 is not in column A. Let's have all the criteria for your issue.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    08-24-2012
    Location
    Iran, Tehran
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: how to check two range of data and compare them based on a cell in other column

    let me explain it in another way:

    if in a row A2 is "abcd0002", B2 is "A", C2 is "Hold" then, this value "Hold" should be considered as reference to check other rows which A columns contains "abcd0002", B columns is any data, C should be "Hold" otherwise the value is wrong.

    See more clear example:6-24-2013 11-12-52 PM.jpg



    Quote Originally Posted by alansidman View Post
    I don't believe that you have given us all the logic. You have Hold in column C when abcd0002 is not in column A. Let's have all the criteria for your issue.

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

    Re: how to check two range of data and compare them based on a cell in other column

    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)

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