PivotTables are great for turning thousands of rows into useful summaries in Excel, but they're only as good as the data you give them. So before I build one, I take a few moments to prepare my source data using four simple functions.