Skip to content

Instantly share code, notes, and snippets.

@LeonardoDSSilva
Last active March 31, 2022 13:38
Show Gist options
  • Save LeonardoDSSilva/e867bce5177cdf926e250651d6ed1ece to your computer and use it in GitHub Desktop.
Save LeonardoDSSilva/e867bce5177cdf926e250651d6ed1ece to your computer and use it in GitHub Desktop.
EXCEL_IN
SUMARIZACAO = LAMBDA(a,b, c, d,(
CONCAT("0",a,".",IF(
LEN(b)=1, "00" & b , "0" & b),IF(
ISBLANK(c),"","."& IF(LEN(c)=1, "00" & c , "0" & c)),IF(
ISBLANK(d),"","."& IF(LEN(d)=1, "00" & d , "0" & d)
))
));
DOT = LAMBDA(num,
(LEFT(num, 3) & "." &
RIGHT(num, 3))
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment