|
Brought to you by:
Welcome to the Google Sheets Tips newsletter #353, your Monday morning espresso, in spreadsheet form! Today we're looking at the shape of data. It's foundational concept that underpins pivot tables and charts in Google Sheets. Once you understand the difference between wide data (for charts) and tall data (for pivot tables), you'll be off to the races! This week is all about the pros and cons of each data shape. Next week, I'll show you how to use formulas and pivot tables to transform wide data into tall data, and vice versa. ➜ NewsI. We'll talk about the current landscape and where we're headed. Join this free webinar at 12 pm Eastern Time, this Thursday, June 26th. ➜ Sheets Tip #353: The Shape of Data (Wide vs. Tall)In this tip, we look at wide vs. tall data or spreadsheet vs. database format, and what the pros and cons of each format are. It's a super important concept to grasp. Not only for working with data in Google Sheets, but also to have a broader understanding of how data and databases work. It'll help you understand how pivot tables and charts work in Google Sheets much more deeply. Wide dataWide data refers to data in a 2-D grid layout, meaning that information is recorded in both the row labels AND the column headings. Consider this table: When we read across a row, we also look up to the heading to determine the region that each value is attached to. For example, Product 3 for East has a value of 9. Each column is treated as a separate series, which is why this format works well for charts but not for pivot tables. For example, it's impossible to calculate an average value across the regions in a pivot table. Pros of Wide data
Cons of Wide data
Bottom line: Wide data is good for humans and charts. Tall dataTall data refers to data in a tall orientation. All data for a specific series (e.g. Region) is recorded in a single column. Consider this tall dataset, which contains the same data as the wide table above: This time, each product has 4 rows, with one row per each region. Pros of Tall data
Cons of Tall data
Bottom line: Tall data is good for machines and analysis Exercises👉 Compare the two data tables above and identify the differences. 👉 Take the wide dataset and try creating a pivot table that calculates the average value for each product. Then create a chart based on the wide data and see what it looks like. 👉 Take the tall data and try calculating the average product value in a pivot table. Then see what happens when you create a chart. 👉 Which dataset works best with pivot tables? 👉 Which dataset works best with charts? Next weekWe'll look at how to go from wide to tall (unpivot) and how to go from tall to wide (pivot). One is significantly easier than the other! But after next week, you'll know how to do both. So until then, happy formula-rizing. If you enjoyed this newsletter, please forward it to a friend who might enjoy it. Have a great week! Cheers, |
Get better at working with Google Sheets! Join 50,000 readers to get an actionable tip in your inbox every Monday.
Brought to you by: Hi Reader, Welcome to the Google Sheets Tips newsletter #389, your Monday morning espresso, in spreadsheet form! After a major work sprint to launch the 28 Days to Gemini Mastery course earlier this spring, I recently took a few weeks off to visit my brother and his family in Australia. We spent time hiking and packrafting in Tasmania's remote and beautiful Southwest National Park. It was an incredible trip and, without cell service for 12 days, a true break from the noise...
Hi Reader, Welcome to the Google Sheets Tips newsletter #388, your Monday morning espresso, in spreadsheet form! ➜ Sheets Tip #388: Merged Cells To many power users who live in spreadsheets, merged cells are often treated like a patch of poison ivy on a hiking trail. They see them, turn their nose up, and steer well clear. But are they always the villain? Let's find out. Why Purists Cringe At Merged Cells In a structured dataset or a table, merged cells are, quite frankly, a nightmare. They...
Hi Reader, Welcome to the Google Sheets Tips newsletter #387, your Monday morning espresso, in spreadsheet form! I'm traveling so no news section again this week. But don't worry, I'll have a full recap of all the relevant Google Next announcements soon. ➜ Sheets Tip #387: Do You Know How To Round Numbers To The Nearest Hundred, Thousand? We’ve all used the ROUND function to tidy up messy decimals. But do you know one of its best tricks? It works equally as well to round to the nearest ten or...