format_number
Apply custom number formatting to a range of cells in an Excel workbook, including currencies, percentages, and dates.
Instructions
Apply number formatting to a range of cells.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workbook_path | Yes | Path to the Excel workbook | |
| sheet_name | Yes | Name of the worksheet | |
| range_ref | Yes | Range to format (e.g., 'A1:B10') | |
| format_string | Yes | Excel number format string Examples: - '0.00' = Two decimal places - '#,##0' = Thousands separator - '0%' = Percentage - '$#,##0.00' = Currency - 'mm/dd/yyyy' = Date format |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||