Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
steve
 
Posts: n/a
Default warn me when text appears

im trying to find out if excel will warn me if text appears in a range of
cells more than twice,, i run a fantacy league but each member can only have
two players from the same team ie leeds,mancester, liverpool. can i write a
formula that will tell me if one team appears more than twice
--
steve b
  #2   Report Post  
John Mansfield
 
Posts: n/a
Default

Steve,

As an example, assuming your data is the range A1:A10, this formula will
return TRUE for any duplicates:

=IF(COUNTIF($A$1:$A$10, A1)1,TRUE,FALSE)

----
Regards,
John Mansfield
http://www.pdbook.com

"steve" wrote:

im trying to find out if excel will warn me if text appears in a range of
cells more than twice,, i run a fantacy league but each member can only have
two players from the same team ie leeds,mancester, liverpool. can i write a
formula that will tell me if one team appears more than twice
--
steve b

  #3   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

You might want to apply this if these entries are typed

http://www.cpearson.com/excel/NoDupEntry.htm

--
Regards,

Peo Sjoblom


"steve" wrote in message
...
im trying to find out if excel will warn me if text appears in a range of
cells more than twice,, i run a fantacy league but each member can only
have
two players from the same team ie leeds,mancester, liverpool. can i write
a
formula that will tell me if one team appears more than twice
--
steve b



  #4   Report Post  
Bob Phillips
 
Posts: n/a
Default

You could use the formula

COUNTIF($A$1:$A$10, A1)1

with conditional formatting

--

HTH

RP
(remove nothere from the email address if mailing direct)


"John Mansfield" wrote in message
...
Steve,

As an example, assuming your data is the range A1:A10, this formula will
return TRUE for any duplicates:

=IF(COUNTIF($A$1:$A$10, A1)1,TRUE,FALSE)

----
Regards,
John Mansfield
http://www.pdbook.com

"steve" wrote:

im trying to find out if excel will warn me if text appears in a range

of
cells more than twice,, i run a fantacy league but each member can only

have
two players from the same team ie leeds,mancester, liverpool. can i

write a
formula that will tell me if one team appears more than twice
--
steve b





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
can i get excel to warn me if text appears in 3 different cells steve Excel Worksheet Functions 1 April 17th 05 07:58 PM
Formula appears as text Tiles Excel Worksheet Functions 3 March 27th 05 10:48 AM
Sort or Filter option? Mcobra41 Excel Worksheet Functions 3 February 23rd 05 07:22 PM
Read Text File into Excel Using VBA Willie T Excel Discussion (Misc queries) 13 January 8th 05 12:37 AM
Wrapped text appears as xxxxxx RegV Excel Discussion (Misc queries) 0 December 15th 04 03:43 PM


All times are GMT +1. The time now is 03:13 AM.

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

About Us

"It's about Microsoft Excel"