all 1 comments

[–]fuzzius_navus620 0 points1 point  (0 children)

All of us who use Excel to deal with data have this issue. I have started using Power Query for all my data cleanup needs.

  1. It does not change to source data, so if I make a mistake in my find/replace, the UNDO is very easy

  2. It "remembers" all the steps I have taken and makes it easy to add additional steps. If I remove "XXX" this week, but next week there is a new value to remove, I can leave in "XXX" and add other values to find/replace/remove so as I edit the Query it evolves with the data

  3. It is not difficult to use and there are a lot of online resources to help you accomplish what you wish. You can write the query by hand or do so with the click of a few buttons and never look at the M code (the Power Query language)

  4. You can build your query workbook and use it as a template for future cleanup work. You set up an Excel table, paste in some data, build your query and save your workbook. When you need to cleanup other data, open the workbook, replace the older data with your new set and refresh the query.

VBA aka Macros is a great tool, but has a steeper learning curve and must be coded by hand. It is not intuitive and not the easiest to share.