Search Community
- Force.com Discussion Boards
- :
- Salesforce User Discussions
- :
- Best Practices Discussion
- :
- Data migration with case sensitive IDs (was: Data ...
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Data migration with case sensitive IDs (was: Data migration help please!)
[ Edited ]- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-10-2006 02:40 PM - last edited on 06-10-2006 02:40 PM
Message Edited by Kingsley on 06-30-2006 03:58 AM
Solved! Go to Solution.
Re: Data migration help please!
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-20-2006 09:58 AM
Hudini,
I assume you are using your OLD ID's as the Lookup value to bring back the salesforce ID? As long as your Old-ID's are just numeric the VLOOKUP should work fine and you don't ever need to Lookup the salesforce id.
So, VLOOKUP(C1,A1:B5,1,FALSE) in your case should be VLOOKUP(Old-Id,A= Column with export of dub-id:B= Column with related sfdc-ID),2= Column with sfdc-ID,FALSE)
I hope that helps and doesn't confuse the issue more!!
Re: Data migration help please!
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-22-2006 01:08 AM
Re: Data migration help please!
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-22-2006 11:36 AM
I've experienced similar frustrations with this, and also received great from SFDC support. They recommended using the Excel formula below to create a unique, non-case-sensitive ID from a case-sensitive SFDC ID. Just replace “# “ in the formula below with the cell number where the ID is located:
=#&CODE(MID(#,12,1))&CODE(MID(#,13,1))&CODE(MID(#,
When I plugged in this code and tried it out, here's what I got:
|
00130000001s02U |
00130000001s02U115485085 |
|
00130000001s02u |
00130000001s02u1154850117 |
|
00130000001S02u |
00130000001S02u834850117 |
Re: Data migration help please!
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-26-2006 04:57 PM
Re: Data migration with case sensitive IDs (was: Data migration help please!)
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
08-14-2006 03:54 PM
What I've usually done in this case (using Excel with ids) is to expand the case sensitive (15 character) ID into the case insensitive - (18 character) version.
Depending on how you're getting your source data, you may be able to get the 18 character version in the first place. If not, you can convert it with a relatively simple visual-basic function. There's a version of this code in the Excel connector which looks like:
Code:
Function FixID(InID As String) As String
' Converts a 15 character ID to an 18 character, case-insensitive one ...
Dim InChars As String, InI As Integer, InUpper As String
Dim InCnt As Integer
InChars = "ABCDEFGHIJKLMNOPQRSTUVWXYZ012345"
InUpper = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
InCnt = 0
For InI = 15 To 1 Step -1
InCnt = 2 * InCnt + Sgn(InStr(1, InUpper, Mid(InID, InI, 1), vbBinaryCompare))
If InI Mod 5 = 1 Then
FixID = Mid(InChars, InCnt + 1, 1) + FixID
InCnt = 0
End If
Next InI
FixID = InID + FixID
End Function
Re: Data migration with case sensitive IDs (was: Data migration help please!)
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
08-17-2006 08:53 PM
Thank you, thank you!! I had been struggling with this for hours...this worked perfectly! :-)I've experienced similar frustrations with this, and also received great from SFDC support. They recommended using the Excel formula below to create a unique, non-case-sensitive ID from a case-sensitive SFDC ID. Just replace “# “ in the formula below with the cell number where the ID is located:
=#&CODE(MID(#,12,1))&CODE(MID(#,13,1))&CODE(MID(#,
14,1))&CODE(MID(#,15,1))
C3: Colorectal Cancer Coalition
Re: Data migration with case sensitive IDs (was: Data migration help please!)
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
05-12-2008 10:58 PM
data migration can be a pain in excel...
i was trying to manipulate 400Mb csv files with vlookup's going everywhere...
For larger data migrations, I've started using Apatar, it's a free ETL tool, which can transform data between data sources. E.g. from SQL to Sfdc.
It takes a few hours to correctly define a complicated Map, but once set up, it's a good way to do a one off data migration, you can also schedule it as a service for ongoing batch uploads.
Personally I believe Apatar is probably not as good as the commercial products out there, but considering it's open source and free I use it with my clients who needs to transfer data once off and who dont have a need to purchase an commercial grade ETL tool.
Principal
Hallman
Email: ryan@hallman.com.au
Web: http://www.hallman.com.au
Mobile: +61 417 386 487
Office: +61 (0) 2 9006 1696
Salesforce.com Level II Certified Consultant
Re: Data migration with case sensitive IDs (was: Data migration help please!)
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
07-25-2008 03:14 AM
Nice one ChicagoDrew.
Thanks !
Re: Data migration with case sensitive IDs (was: Data migration help please!)
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-05-2009 05:23 PM

