# col2idx

From XLConnect v0.2-15
by Martin Studer

##### Converting Excel column names to indices

Converts Excel column names to indices.

- Keywords
- utilities

##### Usage

`col2idx(x)`

##### Arguments

- x
Character vector of Excel column names (e.g. "A", "AF", ...)

##### Value

Returns a vector of integers representing the corresponding column indices. Note that passing invalid column name references may result in an arbitrary number.

##### See Also

##### Examples

```
# NOT RUN {
col2idx(c("A", "BTG"))
# }
```

*Documentation reproduced from package XLConnect, version 0.2-15, License: GPL-3*

### Community examples

Looks like there are no examples yet.