Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 77
Default check for repeated data

hi community

is there a way to do checking for repeated data entry in a range of cells,

A B C D E F

1 10 5 6 11 3 9

2 5 13 2 11 1 0

as an example above, i want to check for repeated data in the cell range and
have it highlighted if more than 1 cell are detected

any help would be much appreciated

thanks community
--
oldLearner57
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9,101
Default check for repeated data

conditional formating will do what you want.

Select cell A1 - this is same cell as 2nd parameter in Countif below
Format Menu - Conditional formating
change Condition to formula is

Enter this formula. Note where the dollar sign are located.
=IF(COUNTIF($A$1:$G$2,A1)1,TRUE,FALSE)
Select format - Pattern and chose any color.

Now you have to copy the conditional formating to all the cells in the range
Again select cell A1. Press Paint brush on toolbar. Highlight all cells
in range you want to compare.

"tikchye_oldLearner57" wrote:

hi community

is there a way to do checking for repeated data entry in a range of cells,

A B C D E F

1 10 5 6 11 3 9

2 5 13 2 11 1 0

as an example above, i want to check for repeated data in the cell range and
have it highlighted if more than 1 cell are detected

any help would be much appreciated

thanks community
--
oldLearner57

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 77
Default check for repeated data

the method works well and simple
much appreciated :)
thanks again :) Joel
also to community - thanks!
--
oldLearner57


"Joel" wrote:

conditional formating will do what you want.

Select cell A1 - this is same cell as 2nd parameter in Countif below
Format Menu - Conditional formating
change Condition to formula is

Enter this formula. Note where the dollar sign are located.
=IF(COUNTIF($A$1:$G$2,A1)1,TRUE,FALSE)
Select format - Pattern and chose any color.

Now you have to copy the conditional formating to all the cells in the range
Again select cell A1. Press Paint brush on toolbar. Highlight all cells
in range you want to compare.

"tikchye_oldLearner57" wrote:

hi community

is there a way to do checking for repeated data entry in a range of cells,

A B C D E F

1 10 5 6 11 3 9

2 5 13 2 11 1 0

as an example above, i want to check for repeated data in the cell range and
have it highlighted if more than 1 cell are detected

any help would be much appreciated

thanks community
--
oldLearner57

  #4   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default check for repeated data

One way using conditional formatting ..

Select A1:F2 (ensure A1 is active cell*)
Click FormatConditional Formatting
Under Condition 1, make the settings:
Formula is: =COUNTIF($A$1:$F$2,A1)1
Click Format button Patterns tab Blue? OK
Click OK at the main dialog

*means select A1 first, then drag to F2 to select A1:F2
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"tikchye_oldLearner57" wrote:
hi community

is there a way to do checking for repeated data entry in a range of cells,

A B C D E F

1 10 5 6 11 3 9

2 5 13 2 11 1 0

as an example above, i want to check for repeated data in the cell range and
have it highlighted if more than 1 cell are detected

any help would be much appreciated

thanks community
--
oldLearner57

  #5   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default check for repeated data

And if your intent is to prevent duplicate data entry ..

Select A1:F2 (ensure A1 is active cell, as before)
Click DataValidation
In the settings tab:
Allow: Custom
Formula: =COUNTIF($A$1:$F$2,A1)1
Click OK
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"tikchye_oldLearner57" wrote:
hi community

is there a way to do checking for repeated data entry in a range of cells,

A B C D E F

1 10 5 6 11 3 9

2 5 13 2 11 1 0

as an example above, i want to check for repeated data in the cell range and
have it highlighted if more than 1 cell are detected

any help would be much appreciated

thanks community
--
oldLearner57



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 77
Default check for repeated data

thanks Max , very interesting and good :)

thanks again Max
and
to community as well
:)
--
oldLearner57


"Max" wrote:

And if your intent is to prevent duplicate data entry ..

Select A1:F2 (ensure A1 is active cell, as before)
Click DataValidation
In the settings tab:
Allow: Custom
Formula: =COUNTIF($A$1:$F$2,A1)1
Click OK
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"tikchye_oldLearner57" wrote:
hi community

is there a way to do checking for repeated data entry in a range of cells,

A B C D E F

1 10 5 6 11 3 9

2 5 13 2 11 1 0

as an example above, i want to check for repeated data in the cell range and
have it highlighted if more than 1 cell are detected

any help would be much appreciated

thanks community
--
oldLearner57

  #7   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default check for repeated data

Welcome, tikchye.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
On Mar 8, 10:04 am, tikchye_oldLearner57
wrote:
thanks Max , very interesting and good :)

thanks again Max
and
to community as well
:)
--
oldLearner57


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Inserting Data Repeated Times Dan Spracklin Excel Discussion (Misc queries) 1 November 10th 06 05:51 PM
how do I remove repeated data in excel S. Virgile Excel Worksheet Functions 1 June 27th 06 06:00 PM
Printing text in a repeated cell/row that is longer than repeated Valerie Dyet Excel Discussion (Misc queries) 1 February 13th 06 03:27 AM
Excel - eliminating repeated data excel novice! Excel Discussion (Misc queries) 3 September 1st 05 02:46 PM
How do I conditional format for data that's repeated Putty Excel Worksheet Functions 8 November 2nd 04 09:04 PM


All times are GMT +1. The time now is 09:25 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"