Monday, January 25, 2021

Unpivot Multiple Columns | Added Columns Changes

To unpivot a report or table used to be a difficult process, but it's become a much easier process with Power Query feature in Excel. Still there are things to consider when using the unpivot feature because when column changes with adds it DOES depend on how the unpivot is done and where the column is added.

Wednesday, January 20, 2021

Google Sheets - Perform a Lookup [3 Examples]

In most spreadsheet applications there are multiple ways to do the same thing. Google sheets is not exception as it provides you many ways to accomplish similar tasks. A common task in most spreadsheets is looking up values or records based on set criteria. There are a few functions we can use in Google Sheets to do a lookup and this video will cover three functions that can accomplish lookups: VLOOKUP, the INDEX / MATCH combination and FILTER (though the FILTER function is not technically a lookup function it can still be used to lookup records).

Monday, January 18, 2021

Perform a Lookup with the FILTER Function

One of the new Dynamic Array functions in Microsoft or Office 365 is the FILTER function and this can let you perform a lookup on a table of data. Generally when we think of filtering data it's already in a table and we're using the drop downs to filter based on some criteria. With the newer FILTER function, we can separate the source table and the output table in different parts of the worksheet tab or in separate worksheet tabs. This can even be used in scenarios where we'd want to make a dashboard to separate this. This video will cover some different examples of how FILTER can be used. Common usage (0:56) Multiple criteria (5:20) Find duplicate data (9:55) Output few adjacent columns (11:47) Output few non-adjacent columns (12:35)

Wednesday, January 13, 2021

Google Sheets - Create a Static Timestamp

If you're doing some project management and don't have a large budget, you can use Google Sheets as a poor man's project management tool. One concept in most project management timelines is the concept of estimated dates and actual dates. Usually you'd input the dates manually for these dates, but it would be nice to have the actual date entered "auto-magically" based on the value changes of another cell (i.e., when a percent complete is entered). But you don't want the actual dates to change after the initial value is triggered in that cell; you want the time stamp that updates only if data is entered in some cell. This video covers a workaround using iterative calculations and sort of breaks a rule in spreadsheet design where you don't want circular references. In this case, we'll have to change the Google Sheet setting to allow for it. See the video to learn how to do this.

Monday, January 11, 2021

Append or Combine Tables | Same File | Many Worksheets

Excel can be used to to append tables in multiple different worksheet tabs in the same workbook file. But there may also be a value that you'd want to preserve in those worksheets to use for a new column value in the combined output. The tables are all structured the same and have the same column headings but the worksheet tabs have the generic name (i.e, Sheet1 or Sheet2). The common field in each worksheet can be used as a value that categorizes the tables. One worksheet will be California data and another worksheet would be New York data. If these were small data sets, then copy/paste and some column movements would suffice. However if these are large tables, you do this on a recurring basis or you had 10 or 20 worksheets in the file, it would be a chore. This is a great opportunity to use Power Query and this video will show how. This is a tip I learned from Gil Raviv's book. Get the book at https://amzn.to/2Zj9ADY

Wednesday, January 6, 2021

Google Sheets - Create a Candlestick Chart

A candlestick chart is a multiple purpose graph that can provide information about stock history (i.e., open, close, high and low prices) in one consolidated view. Google Sheets give you a way to view a stock history via the ticker symbol in a table and then put it into a candlestick chart. In addition, you can set it up to dynamically pull in different stocks as you enter the new ticker symbol in. In this video, I'll cover how to cover how to create a basic candlestick chart and how to create a box plot (or box and whiskers) with the candlestick chart feature. Caveat: It's not a full fledge box plot, more of a pseudo box plot because it doesn't include a median statistic. Lastly I'll cover how to create a dynamic stock history table and the candlestick chart that pulls it's data from that table.

Monday, January 4, 2021

Combine or Append Tables | Same Workbook | Multiple Worksheets

You want to use Excel to combine tables in different worksheet tabs in the same workbook file. You also want to preserve the title in those worksheets to use for a new column value in the combined output. Luckily the tables are all structured the same and have the same column headings. The catch is that the worksheet tabs are the generic name (i.e, Sheet1 or Sheet2) and there is a common field that houses the value that categorizes the tables. One worksheet will be California data and another worksheet would be New York data. If these were small data sets, then copy/paste and some column movements would suffice. However if these are large tables, you do this on a recurring basis or this is something you get from someone else on a recurring basis, it would be a chore. This is a great opportunity to use Power Query and this video will show how. This is a tip I learned from Gil Raviv's book. Get the book at https://amzn.to/2Zj9ADY