Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
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   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 15,768
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   Report Post  
Posted to microsoft.public.excel.newusers
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   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 10,124
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   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 320
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



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
Decimal Numbers typed into Excel 2003 read as whole numbers john mcmichael Excel Discussion (Misc queries) 1 May 10th 07 08:18 PM
How do you remove duplicate phone numbers in an Excel spreadsheet Bridgette Excel Discussion (Misc queries) 1 May 25th 06 08:38 PM
using vlookup to find phone numbers online muskiediver Excel Discussion (Misc queries) 2 April 12th 06 06:43 PM
Find duplicate records in Excel 2003 Wayne Excel Discussion (Misc queries) 1 March 29th 06 12:47 AM
How do you find duplicate values in excel- 2 columns of numbers rickmanz Excel Discussion (Misc queries) 1 December 15th 04 11:16 PM


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

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"