Compare values between two sheets

Hi,

I have a calc document contains two sheets, both sheets contain same columns: ID, DEPT, PRICE
I need to compare the PRICE for each ID on both sheets.
Example, for ID 001, DEPT A.01, the PRICE on sheet1 is 500. I want to compare it with it’s PRICE on sheet2. If they are different, I need to mark it (maybe set the font to bold or the background color to red).
There are nearly 26000 rows, so it will take too long to do it manually. Is there any way (a formula or something) that I can use to do it efficiently?

Example: The first value is always in “A3”. In Table 1, use an auxiliary column, e.g. “B”. Type in “B3”: “= WENN(A3 <> $ table2.A3; 1; 0)”. If both values are equal, “0” (zero) is displayed. If they are unequal, “1” is displayed. You can now mark cell “B3”. Hold the small black square on the lower right cell with the mouse and pull down. So we copied the formula down.

WENN is in english-UI IF. Tabelle is table.

I think someone might have a better solution.

What if their positions are not same
This is the situation :
The first sheet contains all products while the second sheet contains the sold products in a month.
So, ID 001 could appear more than once in sheet2. I need to make sure if every ID is sold with the correct price based on the PRICE column in sheet1.

When asking a question, you should reveal all relevant information in order to get a satisfactory answer.