Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Mike
 
Posts: n/a
Default Formula to count text and alert me if a text appears more than twi

Hi

I have a column of text and I need to be alerted if the same text appears
more than twice in the column. The column changes on a regular basis. e.g.

Tom
Tom
Jane
Mary
Tom

"ALERT AN ITEM APPEARS MORE THAN TWICE"

Thanks Mike
  #2   Report Post  
Bob Umlas, Excel MVP
 
Posts: n/a
Default

Select the column (say it's Col D), use Data/Validation, change Allow Any
Value to Allow Custom, enter =COUNTIF(D:D,D1)=1, then choose an appropriate
error message on the error tab if you wish. This won't change any already
existing duplicates, but you can find those by tools/auditing/show auditing
toolbar, then click the "circle Invalid Data" toorbar button (looks like a
gridline with red circles)

"Mike" wrote:

Hi

I have a column of text and I need to be alerted if the same text appears
more than twice in the column. The column changes on a regular basis. e.g.

Tom
Tom
Jane
Mary
Tom

"ALERT AN ITEM APPEARS MORE THAN TWICE"

Thanks Mike

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



All times are GMT +1. The time now is 07:00 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"