Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
julioarriaga
Creator II
Creator II

How to convert an alphabet to numbers

I wish to know if a function that does the following exists:

Input->Output

A->1

B->2

C->3

...

So on and so forth.

Thanks and regards.

1 Solution

Accepted Solutions
swuehl
MVP
MVP

Maybe

=Ord(INPUT) - 64

like

=ORD('A')-64

View solution in original post

2 Replies
swuehl
MVP
MVP

Maybe

=Ord(INPUT) - 64

like

=ORD('A')-64

sunny_talwar

Or may be this

Match(INPUT, 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z')