Dear Hemant, It can be achieved using the vlookup formula. Suppose you have a data set in Sheet 1 from A1 to A9, which you need to compare with the values present in column A in Sheet 2 Then in Column B, please type:
=VLOOKUP(A1,Sheet1!$A$1:$A$9,1,0) and drag the formula down. You will get some #N/A values for the values not matching with Sheet 1. You can further refine the formula, to suppress the #N/A values as follows: =IF(ISERROR(VLOOKUP(A1,Sheet1!$A$1:$A$9,1,0)),"",VLOOKUP(A1,Sheet1!$A$1:$A$9,1,0)) This will suppress the #N/A values and replace them with blank. Hope this helps Cheers, Andy On Wed, Dec 7, 2011 at 2:00 PM, hemant <hemantda...@yahoo.com> wrote: > Hi all > > I need help on the following in EXCEL 2007: > > Compare the values of sheet 1:column A with Values of Sheet2:column A > > If the CELL values in sheet1 column matches with Range of values in > Sheet2 column. > > copy that CELL VALUE from sheet1 and paste it adjacent column (Column > B) of sheet2. Or COLOUR that particular cell background. > > Thanks and Regards > Hemant Dange > > > -- > FORUM RULES (934+ members already BANNED for violation) > > 1) Use concise, accurate thread titles. Poor thread titles, like Please > Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice > will not get quick attention or may not be answered. > > 2) Don't post a question in the thread of another member. > > 3) Don't post questions regarding breaking or bypassing any security > measure. > > 4) Acknowledge the responses you receive, good or bad. > > 5) Cross-promotion of, or links to, forums competitive to this forum in > signatures are prohibited. > > NOTE : Don't ever post personal or confidential data in a workbook. Forum > owners and members are not responsible for any loss. > > > ------------------------------------------------------------------------------------------------------ > To post to this group, send email to excel-macros@googlegroups.com > -- FORUM RULES (934+ members already BANNED for violation) 1) Use concise, accurate thread titles. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get quick attention or may not be answered. 2) Don't post a question in the thread of another member. 3) Don't post questions regarding breaking or bypassing any security measure. 4) Acknowledge the responses you receive, good or bad. 5) Cross-promotion of, or links to, forums competitive to this forum in signatures are prohibited. NOTE : Don't ever post personal or confidential data in a workbook. Forum owners and members are not responsible for any loss. ------------------------------------------------------------------------------------------------------ To post to this group, send email to excel-macros@googlegroups.com