Saad,
If the number is from a defined list - e.g. part numbers - then I'd think that perhaps a better approach would be to compare the input with the defined list. I don't see how you would determine that any particular number had transposed digits unless there were another number to compare it to. You've not given us enough information to determine whether there is sufficient information in the list that you are checking to inspect for data entry errors. For example, any unique entry in the list you are checking might have transposed digits, but unless the "correct" number is also in that list (side comment: where might it be in relation to the suspect number?), you'd not catch the error.
Also ,as you mentioned, if the defined list had members with digits that were transposed, you'd need additional data to determine a data entry error. What is it?
Dave Gathmann
--- In ExcelVBA@yahoogroups.com, Saad Usman <saad.saadusman@...> wrote:
>
>
> > Dear Excel Wizards:
> >
> > I have tried to google my issue, but have not been able to find a solution so far.
> >
> >
> >
> > The problem is that I receive data in the form of a list of hundreds of records where entries in one particular column (say part number) comprise of 7 digits. The list usually contains duplicate values, which I have been able to identify using conditional formatting. However some times, the data entry operator makes transposition errors (for e.g. feeding 1243567 instead of 1234567). I need to identify those cells where at least 5 digits are identical so that I can manually decide whether there is an error in data entry.
> >
> > Any help via formulas/macro would be greatly welcomed.
> >
> >
> Regards, Saad
>
> [Non-text portions of this message have been removed]
>
Reply via web post | Reply to sender | Reply to group | Start a New Topic | Messages in this topic (4) |
Be sure to check out TechTrax Ezine for many, free Excel VBA articles! Go here: http://www.mousetrax.com/techtrax to enter the ezine, then search the ARCHIVES for EXCEL VBA.
----------------------------------
Visit our ExcelVBA group home page for more info and support files:
http://groups.yahoo.com/group/ExcelVBA
----------------------------------
More free tutorials and resources available at:
http://www.mousetrax.com
----------------------------------
Tidak ada komentar:
Posting Komentar