Return excel cell coordinates from (x,y) coordinates

getCellRefs(cellCoords)

Arguments

cellCoords

A data.frame with two columns coordinate pairs.

Value

Excel alphanumeric cell reference

Author

Philipp Schauberger, Alexander Walker

Examples

getCellRefs(data.frame(1, 2))
#> [1] "B1"
# "B1"
getCellRefs(data.frame(1:3, 2:4))
#> [1] "B1" "C2" "D3"
# "B1" "C2" "D3"