web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

!!! import challenge for the real CRM experts: excel import, allow no duplicates but keep duplicate cell information

(0) ShareShare
ReportReport
Posted on by 1,360

I challenge you CRM experts to help me with a problem.

If you guys can find a cure for this, I promise to reward you guys with 1 or 2 gadgets because I don't think this is possible but if it is...this would save me looooaaaads of time

I want to import an excel file with company information and information explaining how one of my colleagues contacted them, through which channels, what the result of his contact with them was and more...

the goal of course is to create new Accounts and add all the needed info

one of these columns in the file contains the Account Names

every time my colleague contacted a company, he created a new row, copied the row, pasted the new row below the old and then changed the information in the cell belonging to the column "conversation"

so now we have multiple rows for each company

meaning that if i were to upload the file and NOT allow duplicates, that CRM will grab one row per company

information in the cells belonging to the column "conversation" would not be imported

the excel file contains:

6.500 rows

20 columns

2.100 companies so that is an average of 3 rows per company

i have tried the following:

import all, allowing duplicates, then merge records

problem: you can only keep 1 input per field so if i were to have one company imported with the following information in the cell belonging to the column "conversation": "possible deal, need lower price, will look at possibilities, get back in 1 week"

...and then merge with an Account with the same Account Name with different information in the "conversation" field, then you can only keep one of the 2

the only option i see now is use the following excel formula --- (example):

=A1&" - "&A2&" - "&A3&""

that would gather all info and put it in one other cell

but looking at the 2.000+ companies and 6.000+ rows, that would mean...adding 2.000+ extra rows containing the formula

------------------

I hope you guys can solve this puzzle and as i said, gifts will be sent

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    jlattimer Profile Picture
    24,562 on at

    Would something like this work?

    http://superuser.com/questions/453041/grouping-labels-and-concatenating-their-text-values-like-a-pivot-table

    If your scenario matches what this example shows you would only need to add 2 columns which would handle concatenating the field and and identifying the "final" record. 

    Once you have the values combine you should be able to delete you original column with the single value and sort based on the"final" value (TRUE) and delete the rows that aren't (FALSE).

    This should leave unique rows that have the the one field combined. 

    Looks like you could go through this in just a few minutes. 

    The out of the box import process of CRM won't handle what you are looking to do without writing some sort of custom code to handle the merging/concatenation.

  • Verified answer
    ScottDurow Profile Picture
    21 on at

    Hi,

    Gadgets?! :)

    What you need to is actually perform two imports. The first will be an import of accounts, and the second will be an import of notes against the accounts. The notes import will contain your conversation details.

    1) First download the templates you need for account and notes using the Data Management download template function in CRM. (Settings->Data Management -> Templates for Data Import)

    You will need to add a 'Regarding' column to the Note template.

    2) First you need to get a list of unique accounts - you can do this simply be extracting the account name column and using the Excel -> Remove duplicates command (on the Data tab). You need to ensure that you've done any reconcillation of data that is different between the multiple versions of the same account (other than the conversation field) - since this function will take the first row as the 'master'

    3) Paste these accounts in your account template and import

    4) Now take the conversation column and the corresponding account name field and paste it into the note template. The Account name goes in the 'Regarding' field and the conversation details goes in the 'Description' field. You can prepopulate the subject field with something like 'Conversation' - or may be the date.

    Once you've imported the Accounts then the Notes, you'll have a nice conversation in the 'Notes' subgrid on the Account form.

    Would that work for you?

  • Luc @ IT creation Dell Premier Partner Profile Picture
    1,360 on at

    My man! This worked perfectly.

    It took me about 2,5 hrs to figure out how this was working, testing it, revamping my excel file fields to fit the script and it workes like a charm.

    Sorry Jason Lattimer but I did not bother tot test your answer because Scott's answer looked so convincing so I can't say for sure that your solution does not work.

    Scott Durow, if you want. Contact me at luc.barendrecht@itcreation.nl

    Major thanks!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans