cref2idx: Converting Excel cell references to indices

View source: R/cref2idx.R

cref2idxR Documentation

Converting Excel cell references to indices

Description

Converts Excel cell references to row & column indices

Usage

cref2idx(x)

Arguments

x

Character vector of Excel cell references (e.g. "$A$20", "B18", ...)

Value

Returns a numeric matrix with two columns and as many rows as cell references that have been provided. The first column represents the row indices and the second column represents the column indices.

Author(s)

Martin Studer
Mirai Solutions GmbH https://mirai-solutions.ch

See Also

idx2cref, col2idx, idx2col, idx2aref, aref2idx, aref

Examples

## Not run: 
cref2idx(c("$A$20", "B18"))

## End(Not run)

XLConnect documentation built on Oct. 21, 2022, 9:05 a.m.