00160 Sum Values From Qualifying Mini TablesKevin Lehrbass2017-05-26 | 00:00 Requirements 00:42 Normalize & Pivot Table 01:41 Helper & Sumifs 03:31 Array formula 07:39 Review of solutions Read my post to see additional solutions: http://www.myspreadsheetlab.com/video-00160-sum-values-from-qualifying-mini-tables-200182 Partial Match POWER QUERYKevin Lehrbass2019-05-17 | Count rows based on conditions.
0:00 Requirements
0:24 Load Data into Power Query load 3 tables
1:24 Requirement Adjustment ‘lamp’ or ‘lamps’ NOT ‘clamps’
1:56 Prep text wrap with spaces, text to lowercase
3:34 Merge tables filters 10000 rows to selected state
4:36 Add SearchWord repeat search words beside rows
5:50 Search words found? function Text.PositionOf
6:39 Filter out rows if search words not found remove rows
7:26 Export rows to Excel sheet
7:44 Create Row Count query group by query counts rows
9:11 Export Row Count query to Excel sheet
***************************** MY POWER QUERY JOURNEY ! www.myspreadsheetlab.com/learning-power-query-get-transform *****************************00179 Data Disaster non normalized dataKevin Lehrbass2018-07-15 | Our weekly data isn't in the correct layout. We can't do a simple vlookup! myspreadsheetlab.com/data-disaster-non-normalized-data-in-excel 00:00 challenge explanation 01:00 our options 02:19 Step1 create named range 02:45 Step2 verify assumption 03:36 Step3 which column? 04:50 Step4 which row? 05:31 Step5 binning table 06:07 Step6 manager row 07:55 Step7 employee's manager!00178 Retrieve Code Based on 2 CriteriaKevin Lehrbass2018-05-16 | 1st code for selected city when description not blank. Leave a comment to vote for your favorite solution. myspreadsheetlab.com/retrieve-1st-code-for-selected-city-when-description-is-not-blank 0:00 Intro 1:10 (a) vlookup array 3:01 (b) index & match array 4:29 (c) lookup 5:18 (d) helper & vlookup 6:03 (e) helper & vlookup (2) 6:50 (f) helper & index match 7:24 (g) index & array00177 Variable Sized Groups In Each ColumnKevin Lehrbass2018-05-07 | A fun solution to a unique request. My post: myspreadsheetlab.com/variable-sized-groups-within-each-column-of-data 1) Highlight top x values per column 2) Highlight group green if x % of group numbers are in the top x % 3) Functionality to switch off (1) & (2) above 4) Solution must work with additional columns of data Conditional formatting in Excel is so powerful and most of the time the rules are easy to create.00176 Normalize & Pivot Taco OrdersKevin Lehrbass2018-04-12 | www.myspreadsheetlab.com/excel-pivot-tables-analyze-taco-data 00:00 Tacombi.com tacos!! 00:14 Menu orders not normalized 00:46 Our scenario (analyze the data) 01:22 What we need to do (before pivot) 02:42 Solution A array formula etc 04:16 Solution B helper formulas 06:11 Solution C Get & Transform 07:31 Solution D quick and dirty 08:12 Pivot Table samples 08:41 Learn Pivot Tables, Get & Transform00175 YouTube Transcript Excel TemplateKevin Lehrbass2018-03-06 | Get template here: myspreadsheetlab.com/youtube-video-transcript-excel-template00173 Dynamically Combine Data from Excel TablesKevin Lehrbass2018-02-01 | http://www.myspreadsheetlab.com/video-00173-dynamically-combine-data-from-excel-tables Yes it's possible to dynamically combine data from Excel tables. BUT it's ridiculously difficult. So much easier with Get & Transform (Power Query) !00174 Ranking Values into TiersKevin Lehrbass2018-01-28 | 00:00 Intro/Requirements 00:23 Step1 individual number RANK 01:38 Step2 approx MATCH into 12 groups 03:23 Verify results using COUNTIF 04:05 Change array constant into a normal range of numbers in cells 03:23 Verify Results: Groups of 12 numbers? http://www.myspreadsheetlab.com/video-00174-ranking-values-into-tiers reddit.com/r/learnexcel/comments/7hqi9k/ranking_into_tiers00172 Unique Values for Drop Down ListKevin Lehrbass2018-01-17 | myspreadsheetlab.com/video-00172-unique-values-for-data-validation-drop-down 00:00 Requirement: drop down list with unique values 01:01 light/simple/dynamic: pick 2 --------------SOLUTIONS---------------------- 01:33 Mr Excel: Pivot Table 02:41 Oz du Soleil: Power Query 04:18 Mike Girvin: array formula 05:30 Leila Gharani: formula 06:17 Kevin Lehrbass: helper formulas 09:25 Mike Rempel: auto-complete, pick from drop down
Link to Leila's video: youtu.be/7fYlWeMQ6L800171 Create Christmas Lights Using Excel SheetsKevin Lehrbass2018-01-05 | Was I too late for a Christmas post? Jerry Seinfeld gives advice: http://www.myspreadsheetlab.com/video-00171-create-christmas-lights-using-excel-sheets00170 Bill Szyszs Solution to Debs ChallengeKevin Lehrbass2017-11-12 | 00:00 Bill Szysz solution (no search function!) 00:37 Step 1 Hack the match function 01:42 Step 2 Look for a 1 inside of Step 1 02:28 Step 3 Index gives us the answer 03:10 Compare solutions (Deb Kevin Ankur Bill) Here's my blog post comparing various solutions! http://www.myspreadsheetlab.com/look-for-keywords-inside-of-a-column-of-text-values00169 Ankur Shuklas Solution to Debs ChallengeKevin Lehrbass2017-11-12 | 00:00 Ankur's Lookup & Search solution 00:39 Review of requirements 02:23 Deb's solution 03:04 Step 1 search array 03:55 Step 2 1 divided by search array results 05:10 Step 3 search for a 2 (we'll never find) 05:35 *key concept* Binning 09:10 Step 4 [result_vector] displays answer Original idea came from Deb's Spreadsheet day challenge Visit Deb's website and youtube: http://www.debradalgleish.com youtube.com/user/contextures Here's my blog post comparing various solutions! http://www.myspreadsheetlab.com/look-for-keywords-inside-of-a-column-of-text-values00168 Debs Spreadsheet Day Formula ChallengeKevin Lehrbass2017-10-19 | Visit Deb's amazing websites: http://www.debradalgleish.com youtube.com/user/contextures DEB's ARRAY FORMULA SOLUTION 00:00 Formula puzzle explanation 01:19 Step 1 Look for each 'Customer' 02:33 Step 2 Replace errors with zero 02:58 Step 3 Look for a 1 inside the array 04:48 Step 4 Index gets the 'Code' answer 05:38 My alternative array solution ...I've learned SO much from Deb over the years. Thanks and Happy Spreadsheet Day! Here's my blog post comparing various solutions! http://www.myspreadsheetlab.com/look-for-keywords-inside-of-a-column-of-text-values00167 Sliding Formula RangesKevin Lehrbass2017-10-02 | This concept could save you a lot of time! Get Excel file here: http://1drv.ms/1bYwrTa 00:00 3 sloppy datasets 01:10 Should we always normalize data? 02:29 Formulas with sliding ranges!?!? 03:34 Sliding range solution 1 05:26 Sliding range solution 2 06:20 Sliding range solution 300166 Count Groups Above or Below TargetsKevin Lehrbass2017-09-24 | How many groups or clusters of numbers are above or below target values? Get Excel file here: http://1drv.ms/1bYwrTa 00:00 Requirements 01:14 How much data? What is file size? 02:17 Visualize what we want to build 02:34 Step1 Get started using AND function 02:47 Step2 Flag TRUE once per group (above) 03:36 Step3 Flag TRUE once per group (below) 04:08 Step4 All-In-One formula00165 Show Col Header for Matrix Value (Leilas Challenge)Kevin Lehrbass2017-08-20 | Get Excel file here: http://1drv.ms/1bYwrTa http://www.myspreadsheetlab.com/video-00165-show-column-header-for-matrix-value Look for text value in non normalized data, return column header. 00:00 Intro 00:14 Requirements 01:17 Factors to consider 02:08 Solution Comparison Grid 02:25 SOLUTION: Sumproduct or Array 03:06 SOLUTION: Simple helper formulas 06:38 SOLUTION: Normalize, index/match ------------------------------------ Update: I added Get & Transform solution in the Excel file.
Leila Gharani's original video: youtu.be/OJLfPc9YlqE Leila Gharani's website: http://www.xelplus.com Oz du Soleil's solution: youtu.be/IwBYEXaOSOk My blog: http://www.myspreadsheetlab.com/blog00164 Excel Magic Trick 1452 Max Monthly CustomerKevin Lehrbass2017-08-08 | See how to calculate the single largest Customer Monthly Total from 81 customers over a 12-month period. Alternative solution to Mike Girvin's solutions. 00:00 Challenge review 00:26 Mike's solutions! 01:30 My solution: dynamic & easy to explain/audit 01:48 Step 1: Helper column to truncate transaction date 02:10 Step 2: Helper column for every month 02:41 Step 3: Helper columns to calc sales per month & customer 03:33 Step 4: Calc the max of Step 3. 03:50 Review all three solutions.00163 Create Weighted Random DatasetKevin Lehrbass2017-07-27 | http://www.myspreadsheetlab.com/video-00163-creating-a-weighted-random-data-set 00:00 Introduction 00:35 Steps 1,2,3,4 02:12 Add your own data 02:28 How close is random 'state' data based on state population? Read my blog post to see enhanced solution that will allow custom variation of the random data. http://www.myspreadsheetlab.com/video-00163-creating-a-weighted-random-data-set00162 Excel Formula Calculates Value of Chess PiecesKevin Lehrbass2017-06-25 | excelxor.com 00:00 Challenge explanation 00:28 Winning formula ------detailed explanation------ 01:24 Step 1 Countif range "A1:H8" is CHESS BOARD 01:35 Step 2 COLOR & PIECES: {"B","W"}&{"P";"N";"B";"R";"Q"} 02:05 Step 3 Create all pieces {"BP","WP";"BN","WN";"BB","WB";"BR","WR";"BQ","WQ"} 03:06 Step 4 CHESS PIECE COUNT {5,5;1,1;2,1;1,1;1,1} 03:42 Step 5 {-5,5;-1,1;-2,1;-1,1;-1,1} - = BLACK, +=WHITE 04:12 Step 6 MULTIPLY PIECE COUNT BY PIECE VALUE {1;3;3;5;9} 04:54 Step 7 {-5,5;-3,3;-6,3;-5,5;-9,9} - = BLACK, +=WHITE 05:00 Step 8 Wrap it with SUM function. 05:08 Changing chess pieces updates formula
MIKE GIRVIN's VIDEO youtu.be/IZZPnsRD90c00158 Keyword Data Validation ListKevin Lehrbass2017-03-27 | What can you do if your data validation drop down list is so long that you want to close Excel and never use it again? 00:00 The Problem: super long drop down list 00:34 The Idea: use keyword(s) 00:46 Ask Questions: don't jump into a solution! ask questions!!! 01:30 Solution 1 Pivot Table 03:23 Solution 2 List Search Add-in (from Excelcampus.com) 03:49 Solution 3 Array Formula (very scary!) 06:12 Solution 4 Non Array Helper Formula (not scary) 09:00 Solution 5 Advanced Filter00157 Array or Aggregate to solve Excel puzzle? EMT1377Kevin Lehrbass2017-02-09 | Normally I would use an array but I watched Mike Girvin's EMT1377 and now I can solve this puzzle with Excel's Aggregate function!00155 Analyze Super Sloppy DatasetKevin Lehrbass2017-02-09 | Do we clean it up first or build solution directly on top of this sloppy data-set?00156 One complex formula or Helper formulasKevin Lehrbass2017-02-08 | This challenge is from Mike Girvin's YouTube channel ExcelIsFun. Let's assume that we can't change the structure of the data. 00:00 Intro 00:08 Challenge description 00:56 Mike's solution 01:05 Bill's solution 01:19 Kevin's solution00154 Unstack Data Challenge With OzKevin Lehrbass2016-12-05 | Problem: a column of data needs to be unstacked and converted into columns and rows. Twist: the distinction where the list needs to be divided is by bold font.
Oz's book: Guerrilla Data Analysis 2nd Edition http://www.amazon.com/Guerrilla-Analy...
My blog: http://www.myspreadsheetlab.com/blog00153 Oz du Soleil: Listing Unique Pairs of StudentsKevin Lehrbass2016-10-04 | Another OZ DU SOLEIL Excel challenge! Oz's video youtu.be/LBBZ5N1YlwY Oz's main solution was using the incredible and life altering Excel feature GET & TRANSFORM!
My Video: 00:00 Explain Challenge 02:42 Solution Brute Force 04:19 Solution Formulas Only 07:37 Solution Pivot & Formulas
Cheers, Kevin Lehrbass twitter.com/kevinlehrbass http://www.myspreadsheetlab.com/blog00152 MIKE GIRVIN-Unique Visitors To Site Each Day?Kevin Lehrbass2016-09-08 | Fun challenge from Mike Girvin! I added some solutions. Download my file here: http://1drv.ms/1bYwrTa 00:00 Challenge intro 01:02 Mike Girvin's solutions! 01:13 Pros & Cons 01:51 Are there other solutions? 02:03 Method1: Remove Duplicates (quick & dirty) 03:00 Method2: Helper Column 1/countifs 05:40 Method3: Helper Columns Match & Sumifs 07:55 Method4: Array Formula 1/countifs (no helper)00151 Custom Formats, VBA and Nerds!Kevin Lehrbass2016-07-24 | Get Excel file 00151 here: http://1drv.ms/1bYwrTa
Cheers, Kevin Lehrbass twitter.com/kevinlehrbass http://www.myspreadsheetlab.com/blog00149 Dynamically Sort Text (Oz du Soleil Challenge 001)Kevin Lehrbass2016-06-08 | Get Excel file 00149 here: http://1drv.ms/1bYwrTa This is a challenge from Oz du Soleil. We want to dynamically sort text excluding 'A', 'An', 'The' if found at the beginning of the title.
00:00 Intro 00:29 Logic (key idea) 00:38 Oz's Solution 01:59 My high tech solution (array) 04:00 My low tech solution (manual, nor formulas!)
We need to insert 3 rows after each existing row. Then cascade the number below down to the right. I show you how to do this without vba or functions (using builtin Excel features like Sort, Goto Special, Fill Series).
I created vba code to conditionally insert check boxes. I give a quick overview of how it works. You can download the file and study the VBA code found in the visual basic editor.
Only 4 steps to wrap existing formulas with Excel's ROUND function.
Cheers, Kevin Lehrbass twitter.com/kevinlehrbass http://www.myspreadsheetlab.com/blog00144 Ranked Keyword SearchKevin Lehrbass2016-02-15 | Based on Mike Girvin's file: EMT1278-1279 Mike's Files: https://people.highline.edu/mgirvin/excelisfun.htm My Excel file 00144 EMT1278-1279: http://1drv.ms/1bYwrTa
The solution is so simple! Use Mike's formula, add a rank number beside the search words and sort descending. The preferred winner is closest to the bottom.
(00:00) Intro
(00:15) Quick review of correlation
(01:46) Play "GuessTheCorrelation" game
(03:48) Links to learn more
(04:07) Play around with data to learn!
Kevin Lehrbass
twitter.com/kevinlehrbass00142 Horizontal list to Vertical list (layered transpose)Kevin Lehrbass2016-01-16 | Get Excel file 00141 here: http://1drv.ms/1bYwrTa I first saw this challenge via a Bill Jelen (Mr Excel) tweet. The tweet directed me to Bill's free Excel help forum. Several excellent VBA solutions. In this video I explain a formula based solution.
(00:00) Mr Excel forum (01:03) Requirement Description (01:40) Array formula tell us how many rows we need (01:50) Solutions steps
(00:00) Audit Formula: =VLOOKUP(B1,INDIRECT(VLOOKUP(A1,Data1!A6:B9,2,FALSE)),2,FALSE) (00:28) Isolate the difficult part: table_array (01:15) See the result of the inner vlookup (Sweden's range) (02:28) Result leads to Sweden's mini range and to favorite sport. ---------now we audit data layout & create an easier solution-------- (03:42) Complex formula due to poor data layout! (04:04) Hard coded references are dangerous! Leads to errors. (04:29) Is there a better or safer solution? (04:33) Add named ranges? Not a good idea. (06:00) SOLUTION! Normalize data, insert table, add formula.
Show the row & column headers for the max values in a range.
(00:00) Original idea from Tom Urtis (00:10) Requirement explanation (00:44) HOMEWORK: Why doesn't it work if there are ties? (01:13) Side note: Four ways to count how many max values (01:53) SOLUTION EXPLANATION (no massive multi line formula)
Please add your solution as a comment below the video!!!
A review of Excel's 3D formulas and then some hefty formulas that go beyond the limitations of 3D formulas. Excel formulas can do magic but it does require careful set-up.
(00:11) Data layout (01:54) Basic 3D range (03:26) Countif 3D range (06:46) Countif 3D range with improved sheet toggle (12:44) Countif 3D range with improved sheet toggle and with dynamic range!
My dog Cali has a data nightmare! Yes, this is a dramatization but this really does happen!
1. (00:00) Cali's data problem description 2. (01:05) Step 1 Normalize via ALT D P 3. (01:27) Step 2 Extract data from pivot cache 4. (01:48) Step 3 Delimit data using 'Ctrl' & 'J' not using "-" 5. (02:43) Step 4 Concatenate City & Region, Alt D P 6. (03:16) Step 5 Extract data from pivot cache 7. (03:23) Step 6 Delete row if value is blank. Text to Columns
Cheers, Kevin Lehrbass twitter.com/kevinlehrbassVideo 00134 Rank Idea_Jordan GoldmeierKevin Lehrbass2015-07-24 | Get Excel file 00134 here: http://1drv.ms/1bYwrTa
See how Jordan's rank formula uses the rare union operator and avoids a heavy array formula!
Cheers, Kevin Lehrbass twitter.com/kevinlehrbass http://www.myspreadsheetlab.comVideo 00133 Partial Sequential MatchKevin Lehrbass2015-07-03 | Get Excel file 00133 here: http://1drv.ms/1bYwrTa Given a value of '354', look for each individual digit inside of cells in a column and add up sales values to the left.
I show you 2 solutions: (a) crazy array formula, (b) step by step helper column approach (much easier to explain)
Idea inspired from Tom Urtis tweet (fuzzy match sum). Shorter alternative array by Zoran Stanojević. Thanks!
Cheers, Kevin Lehrbass twitter.com/kevinlehrbass http://www.myspreadsheetlab.comVideo 00132 How many hours did Billy work?Kevin Lehrbass2015-06-11 | After a long day of Excel support I came home and saw that Chandoo had given me homework. Luckily, a quick array formula can solve it !