realtoast
New Member
- Joined
- Nov 24, 2015
- Messages
- 47
- Office Version
- 365
- Platform
- Windows
- MacOS
- Mobile
- Web
I have a table with around 10,000 records. The records are medical claims, where an individual claimant may have many rows of different types of claims. The individuals are identified by their Social Security Number (ClaimantID). I've created a column, Claimant Alias, where I use the =RIGHT() function to only show the last four digits of the adjacent ClaimantID. This works fine and the last four digits of the SSN can be used to pivot (unless there are duplicates of the last four digits with more than one person; which is a distinct possibility).
But, I would like to take it a step further and replace, say, the digits of the SSN with text in an adjacent column. For instance, 123-45-6785 would convert to, say Claimant1. Then, in the next change in SSN records would be Claimant2, etc. So, in the end, the column, Claimant Alias would have only Claimant[X] from which I could pivot.
Any tips greatly appreciated.
But, I would like to take it a step further and replace, say, the digits of the SSN with text in an adjacent column. For instance, 123-45-6785 would convert to, say Claimant1. Then, in the next change in SSN records would be Claimant2, etc. So, in the end, the column, Claimant Alias would have only Claimant[X] from which I could pivot.
Any tips greatly appreciated.