Tacos_Tacos_Tacos
New Member
- Joined
- Mar 17, 2015
- Messages
- 13
Hello all, and thanks for reading.
I need to import a new spreadsheet (or simply its data) into an ongoing Excel project that I've been working on. The only identifying data on this new document are social security numbers (SSNs). They are hard-coded with hyphens, which I text-to-columns'ed, concatenated, and removed.
Now, throughout my existing project, there are also SSNs (without hyphens - just a nine-digit number). In order to preserve any leading zeros therein, they were formatted as a "custom" format ("000-00-0000"), which has worked just fine throughout the many lookups to which they are tied. And there are many: any number of them are linked to VLOOKUP, MATCH, and INDEX functions - the point being, I'm not in a position to change them in any way that's going to affect how/if they are used as references.
Here's the issue: on the existing project, that custom "000-00-0000" format seems to be automatically recognized as an SSN, and the relevant cells are automatically switched to a "special" format that indicates that it is, in fact, an SSN. This "special" format includes the hyphens that I originally wanted, so everything seems to be on the up and up.
However, the exact same thing happens with the SSNs from the new document, except that despite inputting my typical "000-00-0000" custom format, the SSNs are being switched to the same "special" SSN format, but without the hyphenation.
I have tried everything, and am at my wit's end. I have tried bringing the whole sheet into the new project. I have tried simply copying the SSN values from the new document into the existing document, with the target cells already formatted as I want. But these ~120,000 SSNs refuse to be formatted with hyphens, and I think it is fundamentally preventing them from being used as reference for lookups. I can find absolutely no information regarding this issue online, and it is a bizarre one.
To be clear, if one goes to the "special" format menu in the original project, it will show the nine-digit "SSN" format with hyphens. If one goes to the "special" format menu in the new document, it will show the nine-digit "SSN" format without hyphens, and that format seems to follow the values wherever they go, regardless of how they're moved. No amount of custom formatting will convince these formats to behave differently. And it appears that while the new document is insisting on formatting the numbers in the manner it has chosen, I am unable to use them as a reference.
I apologize if this is somewhat confusing. I feel the same way. Anyone have any insight?
I need to import a new spreadsheet (or simply its data) into an ongoing Excel project that I've been working on. The only identifying data on this new document are social security numbers (SSNs). They are hard-coded with hyphens, which I text-to-columns'ed, concatenated, and removed.
Now, throughout my existing project, there are also SSNs (without hyphens - just a nine-digit number). In order to preserve any leading zeros therein, they were formatted as a "custom" format ("000-00-0000"), which has worked just fine throughout the many lookups to which they are tied. And there are many: any number of them are linked to VLOOKUP, MATCH, and INDEX functions - the point being, I'm not in a position to change them in any way that's going to affect how/if they are used as references.
Here's the issue: on the existing project, that custom "000-00-0000" format seems to be automatically recognized as an SSN, and the relevant cells are automatically switched to a "special" format that indicates that it is, in fact, an SSN. This "special" format includes the hyphens that I originally wanted, so everything seems to be on the up and up.
However, the exact same thing happens with the SSNs from the new document, except that despite inputting my typical "000-00-0000" custom format, the SSNs are being switched to the same "special" SSN format, but without the hyphenation.
I have tried everything, and am at my wit's end. I have tried bringing the whole sheet into the new project. I have tried simply copying the SSN values from the new document into the existing document, with the target cells already formatted as I want. But these ~120,000 SSNs refuse to be formatted with hyphens, and I think it is fundamentally preventing them from being used as reference for lookups. I can find absolutely no information regarding this issue online, and it is a bizarre one.
To be clear, if one goes to the "special" format menu in the original project, it will show the nine-digit "SSN" format with hyphens. If one goes to the "special" format menu in the new document, it will show the nine-digit "SSN" format without hyphens, and that format seems to follow the values wherever they go, regardless of how they're moved. No amount of custom formatting will convince these formats to behave differently. And it appears that while the new document is insisting on formatting the numbers in the manner it has chosen, I am unable to use them as a reference.
I apologize if this is somewhat confusing. I feel the same way. Anyone have any insight?