wildchild_pt
New Member
- Joined
- Apr 16, 2014
- Messages
- 7
Hi,
I am exporting from a database to an excel file, and will need to clean up some fields in the excel file before I can upload that data to a different database.
in one particular cell on the exported file, where I have listed the names and emails of the company contacts, there is a value which indicates if the email address of the contact should be listed or not.
At this moment I cannot manipulate the original database to export the data correctly so all emails appear, and was wondering if there is any possible way that a "rule" could be made to make two changes to this field, firstly, to put a line break after the "N", and also to delete the email address that precedes every letter "N", leaving all emails that precede the letter Y (N=do not display email, Y=Display email).
This data is to be imported to another database which will read this field and create from here a list of contacts from each company, but as the data is, all emails will be published and the contacts will become all jumbled not having one line for each contact.
See below an example of the field in question and how it should look after the clean up;
Data in original field;
[Dr. Paulo Silva | Managing Director | paulo@aguirrenewman.pt | NDrª. Patrícia de Melo e Liz | Managing Partner | patricia@aguirrenewman.pt | NDr. Miguel Bacalhau | Dir. Avaliações | miguel@aguirrenewman.pt | YDr. Eduardo Fonseca | Dir. Escritórios e Retalho | eduardo@aguirrenewman.pt | NDrª Joana Rodrigues | Dir. Arquitect. | joana@aguirrenewman.pt | YDr. Luís Reis | Dir. Indústria | luis@aguirrenewman.pt | NDr. João Inácio | Dir. Gestão de Imóveis | joao@aguirrenewman.pt | N]
after clean up;
[Dr. Paulo Silva | Managing Director | | N
Drª. Patrícia de Melo e Liz | Managing Partner | | N
Dr. Miguel Bacalhau | Dir. Avaliações | miguel@aguirrenewman.pt | Y
Dr. Eduardo Fonseca | Dir. Escritórios e Retalho | | N
Drª Joana Rodrigues | Dir. Arquitect. | joana@aguirrenewman.pt | Y
Dr. Luís Reis | Dir. Indústria | | N
Dr. João Inácio | Dir. Gestão de Imóveis | | N]
Thanks in advance for any help.
Carlos
I am exporting from a database to an excel file, and will need to clean up some fields in the excel file before I can upload that data to a different database.
in one particular cell on the exported file, where I have listed the names and emails of the company contacts, there is a value which indicates if the email address of the contact should be listed or not.
At this moment I cannot manipulate the original database to export the data correctly so all emails appear, and was wondering if there is any possible way that a "rule" could be made to make two changes to this field, firstly, to put a line break after the "N", and also to delete the email address that precedes every letter "N", leaving all emails that precede the letter Y (N=do not display email, Y=Display email).
This data is to be imported to another database which will read this field and create from here a list of contacts from each company, but as the data is, all emails will be published and the contacts will become all jumbled not having one line for each contact.
See below an example of the field in question and how it should look after the clean up;
Data in original field;
[Dr. Paulo Silva | Managing Director | paulo@aguirrenewman.pt | NDrª. Patrícia de Melo e Liz | Managing Partner | patricia@aguirrenewman.pt | NDr. Miguel Bacalhau | Dir. Avaliações | miguel@aguirrenewman.pt | YDr. Eduardo Fonseca | Dir. Escritórios e Retalho | eduardo@aguirrenewman.pt | NDrª Joana Rodrigues | Dir. Arquitect. | joana@aguirrenewman.pt | YDr. Luís Reis | Dir. Indústria | luis@aguirrenewman.pt | NDr. João Inácio | Dir. Gestão de Imóveis | joao@aguirrenewman.pt | N]
after clean up;
[Dr. Paulo Silva | Managing Director | | N
Drª. Patrícia de Melo e Liz | Managing Partner | | N
Dr. Miguel Bacalhau | Dir. Avaliações | miguel@aguirrenewman.pt | Y
Dr. Eduardo Fonseca | Dir. Escritórios e Retalho | | N
Drª Joana Rodrigues | Dir. Arquitect. | joana@aguirrenewman.pt | Y
Dr. Luís Reis | Dir. Indústria | | N
Dr. João Inácio | Dir. Gestão de Imóveis | | N]
Thanks in advance for any help.
Carlos
Last edited: