A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

want to find duplicate Phone numbers when typed in excel 2003



 
 
Thread Tools Display Modes
  #1  
Old August 11th, 2009, 06:10 AM posted to microsoft.public.excel.newusers
trvlpal
external usenet poster
 
Posts: 1
Default want to find duplicate Phone numbers when typed in excel 2003

I create a column and when i put a phone number in I want to have it
indivcate if its a duplicate perferrable in red
  #2  
Old August 11th, 2009, 06:25 AM posted to microsoft.public.excel.newusers
T. Valko
external usenet poster
 
Posts: 15,759
Default want to find duplicate Phone numbers when typed in excel 2003

Let's assume this is your data:

A1: 12345
A2: 54321
A3: 12345

Which cell(s) should be highlighted?

--
Biff
Microsoft Excel MVP


"trvlpal" wrote in message
...
I create a column and when i put a phone number in I want to have it
indivcate if its a duplicate perferrable in red



  #3  
Old August 11th, 2009, 11:25 AM posted to microsoft.public.excel.newusers
Charles T. Garrett
external usenet poster
 
Posts: 2
Default want to find duplicate Phone numbers when typed in excel 2003

Using column "A", place this formula in "conditional formatting" in cell
"A1", and format the font to "red". Now highlight cell "A1" and all of the
cells you want to perform this function in, and "fill down".

=COUNTIF(A:A,A1)1





"trvlpal" wrote in message
...
I create a column and when i put a phone number in I want to have it
indivcate if its a duplicate perferrable in red



  #4  
Old August 11th, 2009, 02:00 PM posted to microsoft.public.excel.newusers
Don Guillett
external usenet poster
 
Posts: 6,167
Default want to find duplicate Phone numbers when typed in excel 2003

Right click sheet tabview codeinsert thischange column ltr to suit and
color index to suit.

Private Sub Worksheet_Change _
(ByVal Target As Range)
If Intersect(Target, Columns("M")) _
Is Nothing Then Exit Sub
If Application.CountIf(Columns("m"), _
Target) 1 Then
MsgBox "Duplicate"
Target.Interior.ColorIndex = 6
End If
End Sub


--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"trvlpal" wrote in message
...
I create a column and when i put a phone number in I want to have it
indivcate if its a duplicate perferrable in red


  #5  
Old August 11th, 2009, 03:25 PM posted to microsoft.public.excel.newusers
Bob Umlas[_3_]
external usenet poster
 
Posts: 197
Default want to find duplicate Phone numbers when typed in excel 2003

Select the whole column (say it's col A), use Format/Conditional Formatting,
change "Cell Value Is" to "Formula Is", enter this formula:
=COUNTIF($A$1:$A$1000,A1)1
click Format, then Patterns tab, then select the red font.
HTH
Bob Umlas
Excel MVP


"trvlpal" wrote in message
...
I create a column and when i put a phone number in I want to have it
indivcate if its a duplicate perferrable in red



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 01:33 PM.


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