Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
Apply professional Excel cell formatting with AI‑powered automation. Style Excel cells with backgrounds, borders, alignment, number formats, and advanced cell properties.
cell_format – Excel cell formatting (background, borders, alignment, number format) through Excel MCPcell_format_batch – Apply Excel cell formatting to multiple ranges in batch with AI automation{
"tool": "cell_format",
"parameters": {
"filepath": "reports/formatted-report.xlsx",
"sheet_name": "Data",
"range": "A1:F1",
"background_color": "#4472C4",
"horizontal_align": "center",
"vertical_align": "middle",
"border_style": "thick",
"text_wrap": true
}
}
{
"tool": "cell_format",
"parameters": {
"filepath": "reports/sales-report.xlsx",
"sheet_name": "Sales Data",
"range": "A1:F1",
"background_color": "#2E5984",
"horizontal_align": "center",
"vertical_align": "middle",
"border_style": "thick",
"border_color": "#000000",
"text_wrap": true
}
}
{
"tool": "cell_format",
"parameters": {
"filepath": "reports/financial.xlsx",
"sheet_name": "Budget",
"range": "C2:C10",
"number_format": "$#,##0.00",
"horizontal_align": "right"
}
}
{
"tool": "cell_format_batch",
"parameters": {
"filepath": "reports/financial-report.xlsx",
"sheet_name": "Sheet1",
"format_ranges": [
{
"range": "A1:F1",
"background_color": "#2E5984",
"horizontal_align": "center",
"vertical_align": "middle",
"border_style": "thick",
"border_color": "#000000"
},
{
"range": "B2:B4",
"number_format": "$#,##0.00",
"horizontal_align": "right"
},
{
"range": "C2:C4",
"number_format": "0",
"horizontal_align": "center"
},
{
"range": "D2:F5",
"number_format": "$#,##0.00",
"horizontal_align": "right"
},
{
"range": "A5:F5",
"border_style": "thick",
"border_sides": ["top"]
}
]
}
}
{
"tool": "cell_format_batch",
"parameters": {
"filepath": "reports/border-demo.xlsx",
"sheet_name": "Sheet1",
"format_ranges": [
{
"range": "A5:A7",
"border_style": "thin",
"border_color": "#000000",
"border_sides": ["all"]
},
{
"range": "B5:B7",
"border_style": "medium",
"border_color": "#FF0000",
"border_sides": ["outline"]
},
{
"range": "C5:C7",
"border_style": "dashed",
"border_color": "#0000FF",
"border_sides": ["top", "bottom"]
},
{
"range": "D5:D7",
"border_style": "dotted",
"border_color": "#00FF00",
"border_sides": ["left", "right"]
},
{
"range": "E5:E7",
"border_style": "double",
"border_color": "#FF00FF",
"border_sides": ["all"]
}
]
}
}
{
"tool": "cell_format_batch",
"parameters": {
"filepath": "reports/alignment-demo.xlsx",
"sheet_name": "Sheet1",
"format_ranges": [
{
"range": "A10",
"horizontal_align": "left",
"vertical_align": "top",
"background_color": "#FFE6E6"
},
{
"range": "B10",
"horizontal_align": "center",
"vertical_align": "middle",
"background_color": "#E6FFE6"
},
{
"range": "C10",
"horizontal_align": "right",
"vertical_align": "bottom",
"background_color": "#E6E6FF"
},
{
"range": "D10",
"horizontal_align": "justify",
"vertical_align": "justify",
"text_wrap": true,
"background_color": "#FFFFE6"
},
{
"range": "E10",
"horizontal_align": "fill",
"indent": 2,
"background_color": "#FFE6FF"
}
]
}
}
{
"tool": "cell_format_batch",
"parameters": {
"filepath": "reports/rotation-demo.xlsx",
"sheet_name": "Sheet1",
"format_ranges": [
{
"range": "D1",
"text_rotation": 45,
"horizontal_align": "center",
"vertical_align": "middle"
},
{
"range": "E1",
"text_rotation": -45,
"horizontal_align": "center",
"vertical_align": "middle"
},
{
"range": "F1",
"text_rotation": 90,
"horizontal_align": "center",
"vertical_align": "middle"
}
]
}
}
"#FFFFFF" – White"#4472C4" – Professional blue"#E6F3FF" – Light blue"#FFFF00" – Yellow"#FFE6E6" – Light red"#E6FFE6" – Light green"#F0F8FF" – Alice blue"left" – Left aligned"center" – Center aligned"right" – Right aligned"justify" – Justified"fill" – Fill the cell"top" – Top aligned"middle" – Middle aligned"bottom" – Bottom aligned"justify" – Justified vertically"none" – No border"thin" – Thin line"medium" – Medium line"thick" – Thick line"dashed" – Dashed line"dotted" – Dotted line"double" – Double line["all"] – All sides["top", "bottom"] – Top and bottom["left", "right"] – Left and right["outline"] – Outside borders only["inside"] – Inside borders only"General" – Default format"0" – Integer"0.00" – Two decimal places"0%" – Percentage"$#,##0.00" – Currency with thousands separator"yyyy-mm-dd" – Date format"h:mm AM/PM" – Time formattext_wrap: true – Wrap text in the celltext_rotation: 45 – Rotate text (degrees)indent: 2 – Indent text levellocked: true – Lock cell for protectionhidden: true – Hide cell formula{
"tool": "cell_format_batch",
"parameters": {
"filepath": "reports/financial-complete.xlsx",
"sheet_name": "Sheet1",
"format_ranges": [
{
"range": "D2:D5",
"background_color": "#F0F8FF"
},
{
"range": "E2:E5",
"background_color": "#FFF0F0"
},
{
"range": "F2:F5",
"background_color": "#F0FFF0",
"border_style": "double",
"border_sides": ["all"]
}
]
}
}
{
"tool": "cell_format_batch",
"parameters": {
"filepath": "reports/data-validation.xlsx",
"sheet_name": "Data",
"format_ranges": [
{
"range": "A2:A10",
"background_color": "#90EE90"
},
{
"range": "B2:B10",
"background_color": "#FFB6C1"
},
{
"range": "C2:C10",
"background_color": "#87CEEB",
"border_style": "thin",
"border_sides": ["all"]
}
]
}
}
{
"tool": "cell_format",
"parameters": {
"filepath": "reports/protected.xlsx",
"sheet_name": "Sheet1",
"range": "B1:B5",
"locked": false,
"hidden": true
}
}
{
"tool": "cell_format",
"parameters": {
"filepath": "test.xlsx",
"sheet_name": "Sheet1",
"range": "A1",
"background_color": "invalid-color"
}
}
Result: Uses default background color
{
"tool": "cell_format",
"parameters": {
"filepath": "test.xlsx",
"sheet_name": "Sheet1",
"range": "A1",
"number_format": "invalid-format"
}
}
Result: Uses General format as fallback
Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.