Skip to content

Instantly share code, notes, and snippets.

View Medohh2120's full-sized avatar

Medohh2120

View GitHub Profile
@Medohh2120
Medohh2120 / Textbetween.lambda
Last active January 28, 2026 17:22
Returns text between 2 delimiters
/*
Name: TEXTBETWEEN
Description: Returns text between delimiters.
- Standardized to native TEXTAFTER/BEFORE syntax.
- Supports Multi-input: Text (Rows) x Delimiters (Columns).
- Strict Mode: Assumes equal number of start/end delimiters.
Made By: Medohh2120
*/
TEXTBETWEEN = LAMBDA(text, start_delim, end_delim, [instance_start], [instance_end], [case_sensitive_start], [case_sensitive_end], [match_end_start], [match_end_end], [if_not_found],
@Medohh2120
Medohh2120 / Unpivot_Plus.lambda
Last active January 26, 2026 03:49
Unpivot 2 Headers table
/*
Name: UNPIVOT_PLUS
Description: Given a Table or a range with headers, unpivots all columns (all or nothing)
optionally support 2 headers.
optionally removing Grid blank entries.
optionally removing Grid errors.
Made By: Medohh2120
*/
UNPIVOT_PLUS=LAMBDA(Table, [Hdr_name], [Has2Hdrs], [TopHdr_name], [value_name], [Remove_blanks], [Remove_errors],