SEDOLs: Difference between revisions
m
→Excel LAMBDA
m (→Excel LAMBDA) |
m (→Excel LAMBDA) |
||
Line 1,199:
{{Works with|Office 365 Betas 2021}}
<lang lisp>
IF(6 = LEN(s),
LET(
ic, CODE(c),
(ic
IF(65 > ic,▼
ic - 48,▼
(ic + 10) - 65▼
)▼
)▼
),▼
IF(OR(isVowel(cs)),▼
" -> Invalid vowel in SEDOL string",▼
MOD(▼
10 - MOD(▼
), 10▼
)
)
),
)▼
▲ 10 - MOD(
▲ ),
"Expected a 6-character SEDOL"
)
)</lang>
|