LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
R.VENKATARAMAN
 
Posts: n/a
Default

try this vba

try(just copy) this vba code and see whether you get what you want
I am not an expert. statements following single quotation are comments.

Public Sub test()
'your data range is A2 to A11
'FIRST SORT THE DATA
Dim cell As Range
Dim i As Integer
i = 1
'NOTE in the next statement it starts from A3 and ends in A12
For Each cell In Range("a3:a12")
cell.Activate
If cell = cell.Offset(-1, 0) Then
i = i + 1
Else
ActiveCell.Offset(-1, 1) = i
i = 1
End If
Next cell
End Sub




Duplicateman wrote in message
...
Let's say you have a list of hundreds of confirmation numbers, they can be
text, numeric or alpa-numeric, how can I know how many of the entries are
exact duplicates vs how many are different. Example:
HVT88947
HVT88947
HVT88948
HVT88948
9784268
712589
DDKLM
DDKLM
HVT88946
712589
Ok, we have 10 entries above. Four of them are duplicate entries, six of
them are different entries, right? Ok, so lets say you now have thousands

of
these entries and you know there are lots of duplicates somewhere in the
list. How can you calculate how many are duplicate entries and how many

are
different (or original entries)? And you need to have the calc work so

that
as people add more entries the calc always updates the number of

duplicates
there are in the growing list?



 
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
how do i make a graph from text ? Jan Derksen Charts and Charting in Excel 1 January 6th 05 01:45 AM
How do I rotate a text box Kent Charts and Charting in Excel 2 December 17th 04 12:13 AM
How can I asign a number value to a text line in Excel? AIF_GoofyDo2 Charts and Charting in Excel 0 December 6th 04 01:19 AM
Adding a text label to a line. Neil Charts and Charting in Excel 1 December 4th 04 08:41 PM
Why do my text boxes disappear from my chart when I click out? Robboo Charts and Charting in Excel 1 November 27th 04 05:49 PM


All times are GMT +1. The time now is 06:41 AM.

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"