Conditional Formatting-Highlighting/Error prompt for Duplicate entries

srinath tantri

New Member
Joined
Dec 10, 2017
Messages
12
Hello all,

I have a new project which requires a report to analyze the duplicate entries which are based on some fields which would be received in a report.

Please find the assumed cell values/Titles the report would consider:

A1- Employee number
B1- Claimant Name
C1- Benefit Period
D1- Claim type
E1- Claim Sub-type
F1- Receipt amount
G1- Frequency of Receipt amount (in months).

As now we have the assumed cell values/Titles, I want to automate the report using conditional formatting which would help in analyzing the entries which have duplicate values based on few clauses and needs are as follows:

· For example, if there is an entry in the excel sheet for multiple times with the same details i.e. A1-G1 then I want excel to highlight the duplicates with Red color for that whole range.

· Secondly, the excel sheet must also populate an error message stating “Benefit has already been claimed for that period”. This can be optional because we are trying to use Conditional formatting for the first requirement.
· If error message is not possible as a prompt then I want a cell which needs to state the same statement i.e. “Benefit has already been claimed for that period”.

On the above provided clauses I want a formula which needs to be set in conditional formatting.

I really appreciate the assistance you are providing in advance. Let me know in case you require any additional information from my end.

Thank you so much,

Have a great day ahead!
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
Hi. Using CF to highlight duplicates is relatively straightforward.

Consider this simple example, which might get you started.

If you have some data in the range A1:A10 (could be employee numbers) . . .

Create a new CF rule,
Use a formula to determine which cells to format
Format values where this formula is true
=COUNTIF(A$1:A$10,A1)>1
and apply the desired format, for example a red fill.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,177
Members
453,021
Latest member
Justyna P

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