Find and Compare

Nalex

Board Regular
Joined
May 5, 2010
Messages
85
Hi,

I have two reports that I want to compare and then highlight the differences. my problem is that i have two billing reports 1) Claims Submitted and 2)Claims Paid.

I need the formula to match each record from the "Claims Paid" report to the "Claims Submitted" report based on Name, Code, and Date and then compare the Amount Paid.. If they dont match or the Claim is not found, highlight it Red...

I appreciate any help you can give me, and please let me know if you need any additional information.

Thanks
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
Hi,

Do you want to highlight the rows in the Claims Submitted report or in the Claims Paid report?

Where they are? Same sheet? Ranges?

M.
 
Upvote 0
Hi,

I would like to highlight the "Claims Submitted" report... They are in the same workbook, but different sheets. the data range is A1:M150 on both sheets and a sample wold be as follows..

"Claims Submitted"
Name Date Code Amount
Joe S 5/2/11 111 40

"Claims Paid"
Name Date Code Amount
Joe S 5/2/11 111 30

In this example the 40 in the "Claims Submitted" sheet would be highlighted.
 
Upvote 0
Ok, but if you only 4 data-columns where they are in the range A:M?

Please tell me:

Name-column= ?
Date-column= ?
Code-column= ?
Amount-column= ?

M.
 
Upvote 0
M.

Sorry about that, I was trying to simplify my problem... There is more data in the row, but I just listed the items that needed to be matched and compared. To answer your question:

Name-column= A
Date-column= H
Code-column= C
Amount-column= I

Does this help? So sorry for the confusion.
 
Upvote 0
Hi Nalex,

First of all you have to create a named-ranged in Claims Paid sheet.

To do this select your data-range in this sheet A2:M? (assuming headers in row 1) and in the name-box (beside the formula-bar) type, say, MyData and hit Enter.

Go to Claims Submitted sheet

Select the Amount column, I2:I150 (assuming there is a header in I1) and:
Conditional Formatting>New Rule> Use a formula to...(last option)
and insert this formula

=IFERROR(IF(INDEX(INDEX(MyData,0,9),MATCH($A2&$C2&$H2,INDEX(MyData,0,1)&INDEX(MyData,0,3)&INDEX(MyData,0,8),0))=$I2,FALSE,TRUE),TRUE)

Format button and pick the format you want

HTH

M.
ps: If you are using Excel 2007 you may face a problem: Excel loses the CF after Save/Close and re-open (bug).
Tell me if this is happening.
 
Upvote 0

Forum statistics

Threads
1,224,503
Messages
6,179,136
Members
452,890
Latest member
Nikhil Ramesh

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top