Clean up misspellings in text field (address)

generalledger

New member
Joined
Oct 15, 2016
Messages
10
Reaction score
0
Points
0
Location
New Jersey, USA
Excel Version(s)
2016
I am trying to clean up misspellings in 65,000 street addresses. I thought if I deleted all the good words, only the bad words would remain. Close and Load to a Table in Excel. Then I can address the misspellings.

In Power Query, I duplicated the Address column (Address-Copy). Then I added many Replace Values steps to pull out acceptable words (Avenue, Street, Lane, First, Second, Third, Oak, Spruce, Pine, etc.) and replace them with nothing. Theoretically, any remaining words are misspelled. The challenge is there are about 100 acceptable words, which requires 100 Replace Value steps. The size of the query is out of hand and slow.

Can you suggest a better approach?

Is there a way to create a list of acceptable words in Excel and feed that list to Power Query so all of the words in the list are replaced by nothing, leaving behind only "invalid" words?

Thanks to everyone for their support.
 
Back
Top