View Single Post
  #6   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

Juan, I have to leave now if you need more help I will try to come to you
before monday

"Juan" wrote:

Wow thank you Eduardo, that worked. Although i tried a conditional formual to
highlighted each cell that is different between the 2 ranges and it seems to
compared the cell on one row to the cell on the row above from the other
range.
I used the the formulas below with the named ranges of Aeries and SEIS.

=COUNTIF(SEIS,A2)=0
=COUNTIF(Aeries,A2)=0

"Eduardo" wrote:

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.