Monday, December 14, 2020

Numbering Groups or Categories of Data Records

If you had data in a group or category, you might want to number them for counts or ordering. In Excel this can be done with a COUNTIF function or if it's a small table you can manually do this. However if this is something you do on a recurring basis, have to do with large tables or it's a step in part of your data cleaning process you might want to use Power Query. To number rows by grouping in Power Query uses the Index function (but it's not that complicated). It's an exercise that will partition out the categories by using the group function and then applying an index number to each of the groups. This video is short so it must not be too hard to do, so check it out.

Wednesday, December 9, 2020

Google Sheets - Create a QR Code

Creating a QR (Quick Response) code may sound hard, but it's actually easy to do with Google Sheets. You'd have to use the link from the Google developer site (https://developers.google.com/chart/infographics/docs/qr_codes) and use the required parameters in addition to using the IMAGE function in Sheets. There are two type of QR codes: static & dynamic. The difference is that a static QR code will not change. For example, once the static QR code is created for a the destination link will always be the same. However for a dynamic QR code, the destination link can change. This would be useful if you didn't want to change the QR code, but once scanned it can take you to a different link in the future. The use case would be restaurant menus or some events on the web. You'd want your customers to scan the same QR code now to go to a site, but in the future that same QR code could go to an updated menu or future event on a website. In this video, I'll show you how to create a static and dynamic QR code.

Monday, December 7, 2020

Find the Difference between Two Lists

If you've got two lists or table to compare, most of the time you can use the equal sign to compare the cell values. But sometimes there are complications like having more than one value, values (text or string values) are separated by delimiters (e.g., commas, semicolons, etc.) or the values are not in the "correct" order. Doing the simple cell to cell comparison is not applicable and that's when you can use Power Query to help compare values.