Grilled Cheese

ExploreLog inSign up
Terms of UsePrivacy PolicyCommunity StandardsHelpGet the app

Grilled Cheese is a product of Village Compute

Version devBuilt at: 2026-12-03 22:42:33 EST

PhotosVideosAllPeople
LatestRanked
Pivot Table Data Preparation Checklist.jpg
Photo, no description
See what our students are saying!
Power Query Fundamentals from Excel and Power BI
"[The course was] basic, short, and simple to understand." M.S. (5 stars)
"I liked the clear videos and explanations, and workable demos to complete alongside the videos." D.C. (5 stars)
skillwave.training
(Skillwave Training logo)
Master Your Data in Excel & Power BI
Pattern Difficulty: Lo Code
Extract to New Column Based 
on Data in Next Row Recipe
Preparation:
	Perform any possible preliminary cleanup
	Add [Index] column: Add Columns -> Index Column -> From 0
	Add [Index.1] column: Add Columns -> Index Column -> From 1
Extract Data Into New Column:
	Go to Home -> Merge Queries As New ->  Merge against itself
	Match [Index.1] (top) against [Index] (bottom)
	Expand the [Compare] column only, creating [Compare.1]
	Sort by the [Index] column (ascending)
	Create a Conditional Column:
    	=if [Compare.1]= "pattern" then [Target] else null
	Right click the new column -> Fill -> up/down (as needed) 
	Filter the [Compare.1] column to remove the pattern
	Remove the [Index], [Index.1] and [Compare.1] columns
	Finish cleanup
(Screenshot of the Target and Compare columns in the Power Query Editor, with the Index cells highlighted to show the pattern to use in the Conditional Column formula. Below is the output query showing the newly extracted column.)
Recipe 40.105
For more data patterns, check out our courses at skillwave.training