LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,814
Default Macro to add different characters to identical data in a column ?

I import the following data:
144S7950
146F2025
146F2431
146F2431
146F7008
146F7116
146F7127
146F7A01
146F7A01
146F7BHS
146F7BHS
146F7BHS
I need to differentiate between the identical entries, because each of the
above has different data in the next column. Is there a way to have Excel,
when it finds duplicate entries, to add a chararacter in the front of the
2nd, 3rd, 4th, etc. data.
Such as:
144S7950
146F2025
146F2431 A
~146F2431 B
146F7008
146F7116
146F7127
146F7A01
~146F7A01
146F7BHS
~146F7BHS
^146F7BHS
All the original data is 8 characters long. I'm using "lookup" to the above
columns for a specific result, but the result is the first one it comes
across, not necessarily the correct one. E.g., the 146F2431 has two
entries, but the result needs to be B, and it's returning the first 146F2431
it finds, resulting in the incorrect A. I'm thinking that if I could
differentiate between the duplicates, my lookup will provide the correct
result.
Thanks,

Steve


 
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
Manual control of link updating for downloaded quotes? dk_ Excel Discussion (Misc queries) 9 November 15th 06 01:04 PM
Macro question Chris Excel Worksheet Functions 12 July 7th 06 01:23 AM
Need to Improve Code Copying/Pasting Between Workbooks David Excel Discussion (Misc queries) 1 January 6th 06 03:56 AM
Positioning Numeric Values Resulting from 6 Column Array Formula Sam via OfficeKB.com Excel Worksheet Functions 2 January 5th 06 02:03 AM
Sort pages? David Excel Discussion (Misc queries) 15 May 13th 05 11:33 PM


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