top of page
V E MeganathanV E Meganathan

V E Meganathan

Admin
More actions

Profile

Join date: Apr 14, 2022

Posts (144)

Dec 11, 20251 min
Dynamic Range Driven by Criteria Selection - Excel and Power Query:
Source: The input table includes columns for Date and Sales. In separate range, dropdown is available to select the Start and End Dates. Task: Create a dynamic range that adjusts according to the selected Start and End Dates. Solution: Excel: Method-1: =LET(d,B3:B27,XLOOKUP(E5,d,d):XLOOKUP(F5,d,C3:C27)) Method-2: =LET(d,B3:B35,INDEX(d,XMATCH(F5,d)):INDEX(C3:C35,XMATCH(E5,d))) Method-3: =LET(d,B3:B27,x,XMATCH(E5,d)-1,OFFSET(B3,x,,XMATCH(F5,d)-x,2)) Method-4: =LET(x,XMATCH(E5:F5,B3:B35),TAKE(DR...

5
0
Nov 30, 20252 min
An Alternative Method for Unpivoting Double Header Data - Power Query
Today's discussion focuses on a different technique for unpivoting double header data presented in a cross-tabulated format. While there are many ways to achieve this, most involve transposing the table to merge the double headers into one. However, in this post, I will demonstrate an alternative method that avoids using transpose. let Source = Excel.CurrentWorkbook(){[Name="Table1"]}[Content], Cols = {"Product","Year"}, Skip = Table.Skip(Source, each [Column1] is null), Unpivot =...

12
0
Nov 29, 20251 min
Table.FromList Function to Generate Multiple Columns from One List
In this post, I will explain the default behavior of the Table.FromList function in Power Query. Assume our source data has several values within a single column, separated by commas. The goal is to split these values into separate columns and generate a table. Within the Table.FromList function, the list is, by default, treated as a list of text values separated by commas. This default behavior allows us to split the values without needing extra functions. Click on the link below for more...

6
0
  • LinkedIn
  • Facebook
  • Twitter
  • Instagram
bottom of page