How do I find duplicated entries on mutiple sheets in same workbook

ghrek

Active Member
Joined
Jul 29, 2005
Messages
426
Hi

I have a workbook that has sheet called "WATFORD" "TABLEAU" AND "PREV REC".

What im trying to do is to look down each sheet individually automatically on column A and if there any duplicated entries I need that row highlighting in yellow.

Any Ideas?
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
you could add conditional froamtting to each sheet
down each sheet individually automatically on column A

As its just each sheet and not referencing other sheets

The a simple countif() should do for you
got to sheet WATFORD

then select the range in column A - say A2:A1000 -
now use a countif
=COUNTIF($A$2:$A$1000, A2 ) > 1

Book2
A
2A1
3A2
4A3
5A4
6A5
7A6
8A7
9A8
10A9
11A10
12A11
13A1
14A12
15A13
16A14
17A4
18A3
watford
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A2:A18Expression=COUNTIF($A$2:$A$18,A2)>1textYES


for 2007, 2010 , 2013 , 2016 , 2019 or 365 Subscription excel version
Conditional Formatting

Highlight applicable range >>
A2:A100 - Change, reduce or extend the rows to meet your data range of rows

Home Tab >> Styles >> Conditional Formatting
New Rule >> Use a formula to determine which cells to format
Edit the Rule Description: Format values where this formula is true:
=COUNTIF($A$2:$A$1000, A2 ) > 1

Format [Number, Font, Border, Fill] format Yellow
choose the format you would like to apply when the condition is true
OK >> OK

Repeat for the other sheets



If you need all the row
Then select the Range
Highlight applicable range >>
A2:Z100 - Change, reduce or extend the rows to meet your data range of rows

Home Tab >> Styles >> Conditional Formatting
New Rule >> Use a formula to determine which cells to format
Edit the Rule Description: Format values where this formula is true:
=COUNTIF($A$2:$A$1000, $A2 ) > 1

Format [Number, Font, Border, Fill] format Yellow
choose the format you would like to apply when the condition is true
OK >> OK

Book2
ABCDEFGHIJKLMNOPQR
1
2A1
3A2
4A3
5A4
6A5
7A6
8A7
9A8
10A9
11A10
12A11
13A1
14A12
15A13
16A14
17A4
18A3
watford
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A2:Z18Expression=COUNTIF($A$2:$A$18,$A2)>1textNO
 
Upvote 0
Solution

Forum statistics

Threads
1,215,148
Messages
6,123,306
Members
449,095
Latest member
Chestertim

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