## CellsHelper::ColumnNameToIndex(const U16String\&) method


Gets column index according to column name.

```cpp
static int32_t Aspose::Cells::CellsHelper::ColumnNameToIndex(const U16String &columnName)
```


| Parameter | Type | Description |
| --- | --- | --- |
| columnName | const U16String\& | [Column](../../column/) name. |

## ReturnValue

[Column](../../column/) index.

## See Also

* Class [Vector](../../vector/)
* Class [U16String](../../u16string/)
* Class [CellsHelper](../)
* Namespace [Aspose::Cells](../../)
* Library [Aspose.Cells for C++](../../../)
## CellsHelper::ColumnNameToIndex(const char16_t*) method


Gets column index according to column name.

```cpp
static int32_t Aspose::Cells::CellsHelper::ColumnNameToIndex(const char16_t *columnName)
```


| Parameter | Type | Description |
| --- | --- | --- |
| columnName | const char16_t* | [Column](../../column/) name. |

## ReturnValue

[Column](../../column/) index.

## See Also

* Class [Vector](../../vector/)
* Class [CellsHelper](../)
* Namespace [Aspose::Cells](../../)
* Library [Aspose.Cells for C++](../../../)
