## Find the index from Excel Range
excel_position <- function(letterIndex) {
letterIndex <- toupper(letterIndex)
stringLength <- nchar(letterIndex)
lengthsVector <- sapply(seq_len(stringLength), function(i, letIdx) {
which(LETTERS == substr(letIdx, i, i))
}, letIdx = letterIndex)
(sum(lengthsVector[-length(lengthsVector)]*26)) +
(lengthsVector[length(lengthsVector)])
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.