sawilliams
Technical User
Hello:
I need to import customer records into a database. I am given rows of data that looks like this:
With Access I can identify the dupes by FNAME + LNAME + ADDR1 but the additional fields vary as to whether there are values or not. Is there a way to "merge" these records to take a value over a null? In other words, if record #1 has a phone number and record #2 does not I want to keep the phone number but, at the same time, if record #1 has an email address and record #2 does not, I want to keep the email address.
The real life situaion is ticket buyers who have multiple orders and with one order we might capture their email address, but with a subsequent order we may not. I have tens of thousands of rows of data to sift thru so it would be great if there is an easy solution out there. In advance, thanks.
I need to import customer records into a database. I am given rows of data that looks like this:
PREFIX;FNAME;MNAME;LNAME;ADDR1;ADDR2;CITY;STATE;ZIP;PHONE;EMAIL
Mr.;John;M.;Smith;123 Main Street;Apt.4;Anytown;PA;18331;6106812323;
Mr.;John;M.;Smith;123 Main Street;;Anytown;PA;18331;;jsmith@aol.com
;John;M.;Smith;123 Main Street;Apt.4;Anytown;PA;18331;6106812323;jsmith@aol.com
Mr.;John;M.;Smith;123 Main Street;Apt.4;Anytown;PA;18331;6106812323;
Mr.;John;M.;Smith;123 Main Street;;Anytown;PA;18331;;jsmith@aol.com
;John;M.;Smith;123 Main Street;Apt.4;Anytown;PA;18331;6106812323;jsmith@aol.com
With Access I can identify the dupes by FNAME + LNAME + ADDR1 but the additional fields vary as to whether there are values or not. Is there a way to "merge" these records to take a value over a null? In other words, if record #1 has a phone number and record #2 does not I want to keep the phone number but, at the same time, if record #1 has an email address and record #2 does not, I want to keep the email address.
The real life situaion is ticket buyers who have multiple orders and with one order we might capture their email address, but with a subsequent order we may not. I have tens of thousands of rows of data to sift thru so it would be great if there is an easy solution out there. In advance, thanks.