View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Eduardo Eduardo is offline
external usenet poster
 
Posts: 2,276
Default Compare 2 sets of data

Hi Juan,
here is the formula that will enter the X if any of the values doesn't match

=+IF(AND(A3=F3,B3=G3,C3=H3,D3=I3,E3=J3),"","X")

If you want to highlight the cell where the information doesn't match use
the conditional formating

"Juan" wrote:

I have 2 sets of data that i will place side by side and each record will
display on each row rather than columns. They will consist of the the same
amount of columns across. Example - ID, Last Name, First Name, Enter Date,
disability Code placed on row 1

I want to compare the first range of 5 columns on the first row to the next
5 columns on the same row. Ideally i would like to have an X placed on the
11th column as a sign of a discrepancy in data (If enter date in the first
range is different from the second set or Disability Code is different and so
on).

Would that be possible or would it be simpler to have something where the
different fields are highlighted. If D1 does not equal I1 or E1 does not
equal J1.