Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Excel Formula to UnPivot: Convert Cross-Tab Table to Proper Table Using LAMBDA - EMT 1887

ExcelIsFun via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn how to create a powerful Excel formula to unpivot cross-tabulated tables into proper tables in this 18-minute tutorial. Master the three-part solution process: building formulas, using LET functions to eliminate repetition, and creating reusable LAMBDA functions. Follow along step-by-step as the instructor demonstrates how to construct formulas using IFS, SEQUENCE, ROWS, TOCOL, COLUMNS, CHOOSEROWS, TRANSPOSE, and HSTACK functions to transform your data. Discover how to handle missing data with #N/A errors, generate proper fields from row and column headers, and combine formula elements efficiently. The tutorial includes practical examples, testing techniques, and even shows how to add custom field names to your LAMBDA function. A downloadable Excel file is provided so you can practice these techniques yourself. Available with subtitles in 31 languages and audio translations in 8 languages.

Syllabus

1. 00:00 Introduction
2. 00:03 What we did in EMT 1886: Power Query UnPivot
3. 00:17 ExcelLambda left comment about UnPivot Formula
4. 00:33 Why we might want a formula to UnPivot
5. 01:05 Three Part Solution: Build Formulas, LET function to remove repetition, LAMBDA function to create re-usable function
6. 01:22 Build formula to unpivot a cross tabulated table, piece by piece
7. 01:22 IFS Function formula element to deliver an #N/A error when data is missing in cross tab table.
8. 02:15 SEQUENCE & ROWS functions used with IFS to deliver row positions from cross tabulated table row headers row criteria
9. 02:59 TOCOL function to skip #N/A errors when data is missing in cross tab table and you want to skip a record in the resulting table
10. 04:12 IFS, SEQUENCE, COLUMNS and TOCOL functions to deliver column positions from cross tabulated table column headers column criteria
11. 05:05 CHOOSEROWS function to generate a column, a proper field, in the resulting unpivoted table for the row headers row criteria in the cross tabulated table.
12. 05:52 CHOOSEROWS & TRANSPOSE functions to generate a column, a proper field, in the resulting unpivoted table for the column headers column criteria in the cross tabulated table.
13. 06:31 TOCOL, IF & IFS Functions to generate a column, a proper field, in the resulting unpivoted table for the values on the inside of the cross tabulated table.
14. 07:09 Mash three main formula elements into a single cell formula that uses the HSTACK function. Learn how to use the Clipboard and Ctrl + C, C keyboard shortcut to mash together formulas elements into a single formula.
15. 08:10 LET Function to remove repeating formulas elements and make the formula more efficient. Learn that the LET Function can define variables in a worksheet formula.
16. 08:56 Why we use the LET function
17. 09:42 Testing variables in the LET function
18. 12:18 LAMBDA function to define a re-usable worksheet function. We use LAMBDA to define a new UnPivot function
19. 12:30 Create arguments in the new LAMBDA defined function
20. 14:07 Test the new LAMBDA function
21. 15:40 Paste LAMBDA function into the Defined Name Dialog Box
22. 16:22 Use the new LAMBDA function: UnPivot
23. 16:43 Bonus: Add field name argument to the MABDA function
24. 17:27 Summary
25. 17:35 Closing

Taught by

ExcelIsFun

Reviews

Start your review of Excel Formula to UnPivot: Convert Cross-Tab Table to Proper Table Using LAMBDA - EMT 1887

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.