Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
KKD KKD is offline
external usenet poster
 
Posts: 31
Default Identifying duplicate data

I have rows of data that contain a column with an invoice number, if I am
entering a duplicate invoice number, I want to be alerted. I want to be
allowed to enter duplicates, but I want Excel to somehow alert me that it is
a duplicate so I can check it. What is a good way to do this?
--
KKD
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Identifying duplicate data

For alert only you could use Conditional Formatting to highlight duplicated
numbers.

Both instances will be highlighted.

In FormatCFFormula is: =COUNTIF($A$1:$A$50,A1)<1

Format to a color and OK

If you wanted to PREVENT duplicates you would enter this formula in Data
ValidationAllowCustom

=COUNTIF($A$1:$A$50,A1)=1


Gord Dibben MS Excel MVP

On Wed, 27 May 2009 14:36:11 -0700, KKD
wrote:

I have rows of data that contain a column with an invoice number, if I am
entering a duplicate invoice number, I want to be alerted. I want to be
allowed to enter duplicates, but I want Excel to somehow alert me that it is
a duplicate so I can check it. What is a good way to do this?


  #3   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Identifying duplicate data

One easy monitor/alert is to use a formula in an an adjacent col
Assume you are entering data in A2 down
Put in B2: =IF(COUNTIF(A$2:A2,A2)1,"<<Dup !","")
Copy down to cover the max expected extent of data in col A
Col B will give you the necessary visual alerts

Works ok? Click the YES button below
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:25,000 Files:300 Subscribers:70
xdemechanik
---
"KKD" wrote:
I have rows of data that contain a column with an invoice number, if I am
entering a duplicate invoice number, I want to be alerted. I want to be
allowed to enter duplicates, but I want Excel to somehow alert me that it is
a duplicate so I can check it. What is a good way to do this?
--
KKD

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
Identifying duplicate values in a range Paul Excel Discussion (Misc queries) 1 May 3rd 09 10:31 PM
Identifying and totaling up duplicate cells in Excel Paul Excel Worksheet Functions 2 October 13th 08 11:09 AM
Identifying duplicate entries japc90 Excel Discussion (Misc queries) 5 February 1st 08 05:36 PM
Identifying duplicate rows TBA Excel Discussion (Misc queries) 2 June 15th 07 09:38 AM
Dame: identifying duplicate numbers within a column Damondism's Excel Worksheet Functions 2 June 14th 06 03:47 AM


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