# validate_a1_range

> **Function** in `langchain_google_community`

📖 [View in docs](https://reference.langchain.com/python/langchain-google-community/sheets/utils/validate_a1_range)

Validate A1 notation range format.

Supports:
- Single cells: `'A1'`, `'Z99'`
- Areas: `'A1:B2'`
- Whole columns: `'A:A'`, `'B:D'`
- Whole rows: `'1:1'`, `'5:10'`
- Sheet-qualified: `'Sheet1!A1'`, `"'My Sheet'!A1:B2"`
- Named ranges: `'MyData'`, `'Sales_2024'`

## Signature

```python
validate_a1_range(
    range_name: str,
) -> bool
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `range_name` | `str` | Yes | Range string to validate. |

## Returns

`bool`

`True` if valid format, `False` otherwise.

---

[View source on GitHub](https://github.com/langchain-ai/langchain-google/blob/982e4015b249de8b9ba1e787746d8cc1f6d6b790/libs/community/langchain_google_community/sheets/utils.py#L157)