Tool

Update formatting

The Google Sheets Update Formatting tool allows users to easily customize the appearance of cells in their spreadsheets by adjusting colors, font styles, alignment, and border styles. This powerful integration streamlines the process of formatting data directly within Google Sheets, enhancing readability and presentation.

Google Sheets

Features

  • Supports updating cell background and text colors with precise RGB values.
  • Adjust text properties such as font size, bold, italic, and strikethrough.
  • Control horizontal alignment of text, including left, center, and right options.
  • Customize cell borders with multiple styles like dotted, dashed, solid, double, and more.
  • Seamless integration with Google Drive and Shared Drives to update any worksheet within Google Sheets.

Benefits

  • Enhances spreadsheet readability by enabling tailored cell formatting.
  • Saves time by automating formatting tasks across multiple cells or ranges.
  • Improves data presentation quality for reports and dashboards.
  • Provides flexibility to match corporate branding or personal style guidelines.
  • Reduces errors by allowing precise programmatic control over spreadsheet styling.

Description

Update the formatting of a cell in a spreadsheet. See the documentation

Parameters

21 parameters

NameTypeDescription
drivestring

The drive containing the worksheet to update. If you are connected with any Google Shared Drives, you can select it here.

You can use the "retrieve_options" tool using these parameters to get the values. key: google_sheets-update-formatting, propName: drive.

sheetIdrequiredstring

The spreadsheet containing the worksheet to update

You can use the "retrieve_options" tool using these parameters to get the values. key: google_sheets-update-formatting, propName: sheetId.

worksheetIdrequiredinteger

Select a worksheet or provide a worksheet ID

You can use the "retrieve_options" tool using these parameters to get the values. key: google_sheets-update-formatting, propName: worksheetId.

rangerequiredstring

The range of cells to update. E.g., A1:A10

backgroundColorRedValuestring

The amount of red in the color as a value in the interval [0, 1]

backgroundColorGreenValuestring

The amount of green in the color as a value in the interval [0, 1]

backgroundColorBlueValuestring

The amount of blue in the color as a value in the interval [0, 1]

textColorRedValuestring

The amount of red in the color as a value in the interval [0, 1]

textColorGreenValuestring

The amount of green in the color as a value in the interval [0, 1]

textColorBlueValuestring

The amount of blue in the color as a value in the interval [0, 1]

fontSizeinteger

The size of the font

boldboolean

Whether the font should be bold

italicboolean

Whether the font should be italic

strikethroughboolean

Whether the font should be strikethrough

horizontalAlignmentenum

The horizontal alignment of the text

topBorderStyleenum

The style of the top border

bottomBorderStyleenum

The style of the bottom border

leftBorderStyleenum

The style of the left border

rightBorderStyleenum

The style of the right border

innerHorizontalBorderStyleenum

The style of the inner horizontal border

innerVerticalBorderStyleenum

The style of the inner vertical border

Ready to vibe automate?

Join thousands of people who have transformed their workflows.

Workflows

Automations with AI agents

Collections

All your data, searchable

Chat Widget

Drop-in widget for your website

Developer API

Build AI-powered apps with ease

    We use cookies to enhance your experience on Needle and keep your data secure. Privacy Policy