Skip to content

Instantly share code, notes, and snippets.

@zachdunn
Created March 11, 2016 15:22
Show Gist options
  • Save zachdunn/0fae9fc60b9e7c3d5f86 to your computer and use it in GitHub Desktop.
Save zachdunn/0fae9fc60b9e7c3d5f86 to your computer and use it in GitHub Desktop.
Handy Excel Formulas
// Convert ISO8601 timestamp to usable date by stripping timezone offset
=DATEVALUE(MID(A1, 1, 10)) + TIMEVALUE(MID(A1, 12, 8))
// Obscure email address
// Example: alice@robinpowered.com > al***@robinpowered.com
=SUBSTITUTE(A2, MID(A2, 3, FIND("@",A2) - 3), REPT("*", LEN(MID(A2, 3, FIND("@", A2) - 3 ))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment