Skip to content

Instantly share code, notes, and snippets.

@cwas101
cwas101 / cwasGist.txt
Last active November 25, 2024 05:26
Excel Lambda Imports
//All in 1 change formulas, EXCEPT EARNINGS RATIO------------------
//New is the column with the most recent values
//Old is the column with the older values
Change=
LAMBDA(
NEW, OLD,
IFERROR(IF(AND(LEFT(CELL("format",NEW),1)="P", LEFT(CELL("format",OLD),1)="P"),
NEW-OLD,