Learn Excel - Join Quickbooks Data Avoiding Duplicate Name - Podcast 1931

If you like this content, please consider visiting the video on YouTube and subscribe to the MrExcel Channel to show your support!
This video has been published on Oct 27, 2014.
From the Miami Power Excel seminar - when you download Quickbooks customer list to Excel, some rows have the customer name in the address field and others do not. How do you remove the duplicate name before joining text?
maxresdefault.jpg


Transcript of the video:
The MrExcel podcast is sponsored by Easy Excel.
MrExcel podcast episode 1931, QuickBooks, Concatenate, but avoid name, name, address.
Hey, welcome back to the MrExcel netcast.
I'm Bill Jelen.
Last week, I did that a power Excel seminar down in Miami.
Lots of great questions come out of this seminar.
So all this week I'll be showing questions that came after that seminar.
And I instantly recognized this question when it came up, because it happens to me as well.
Someone was using QuickBooks for their accounting software.
And when you download the customer list from QuickBooks, we have two fields.
We have a name, field, and an address field. And for whatever reason over the years, um, many of the items in the address field have the name as the starting value.
Uh, but then others do not, right.
I don't know if QuickBooks changed how they handle this over the years, or I'm just inconsistent about the way that I enter data or it's whether it was important or not important, but, you know, I, I recognize this is the one we can catenate column a and column B over here.
Uh, sometimes we're getting the name twice, like Boeing, Boeing, uh, Ford, Ford, and so on.
And so how do you know whether or not to concatenate a and B or just use only B?
And so my solution here, uh, was to say equal if the left of column B and how many characters do I want to check?
I want to check the length of column.
So look at the left most characters of column B and see if that's equal to the name over in a two.
And if it is then I simply want column B.
Otherwise I want column a ampersand quote space, quote, ampersand column B.
close the if statement and, uh, with that simple little bit of logic there, copy of down at smart enough to pull over the customer name and then the address.
if the address doesn't start with the customer name, otherwise, uh, it pulls over just the address, which has the customer name.
Alright.
All right.
So, uh, two different functions there, uh, left and Len inside of an if function.
So I guess a total of three functions.
I want to thank you for stopping by.
We'll see you next time for another net cast from MrExcel.
 

Forum statistics

Threads
1,214,515
Messages
6,119,973
Members
448,933
Latest member
Bluedbw

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top