VLOOKUP Approximate Match in Power Query: Binning & Column by Example @OzduSoleilDATA
VLOOKUP Approximate Match in Power Query: Binning & Column by Example  @OzduSoleilDATA
Uploaded May 2019 | Updated November 2026, 2 days ago
Power Query is fantastic, but there's an ongoing need to do the equivalent of an approximate match like we do when we use VLOOKUP-True to assign categories to values.

This video shows how to assign values by "binning" which is done by using Column by Example and getting help from Power Query. Power Query will build a formula based on how we train it. Once the formula is built, it'll probably be wrong. HOWEVER! It's so much easier to modify the formula than it would be to stack up conditions in a conditional column, or write a messy IF statement in Power Query's M-Code.

This example is good if your categories don't change. If you do need variable tiers/categories, it's better to use the method shown in this video: youtu.be/EYgKciBr_dg

#ColumnByExample
#PowerQueryVLOOKUP
#VLOOKUP

For an intro to Get & Transform (Power Query) try my Lynda/LinkedIn course:
linkedin.com/learning/instructors/oz-du-soleil?trk=insiders_28299411_learning


Website: ozdusoleil.com

My book: Guerrilla Data Analysis 2nd Edition
amazon.com/Guerrilla-Analysis-Using-Microsoft-Excel/dp/1615470336

My old blog: datascopic.net/blog-2-2
VLOOKUP Approximate Match in Power Query: Binning & Column by ExampleExcels AND and OR functions  |  Excel Ignited Day 13  |  SSSVEDAInterviewing for Analysts and Excel SkillExcel: Data Models | Add to Data Model | Power QuerySegment a Dataset Automatically | Dynamic Arrays & Conditional Formatting | ExcelTurbo ChallengePower Query Merging Columns and M Code (managing nulls and excess delimiters)3 ways to compare and clean lists in Excel: VLOOKUP, MATCH, Get & Transform Left Anti-JoinPower Query: Split columns between digits and non-digitsUsing Parameters in Power Query to Generate Random Data + Data ValidationExcels LET function in 3 ActsPower Query: Split by Variable Columns (BONUS: Road Trip Summary)Pass Parameter (Drill Down) to Pick Name Format with Power Query
Excel On Fire (Oz du Soleil) |

VLOOKUP Approximate Match in Power Query: Binning & Column by Example

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER