Skip to Content

IMAGE

Returns an image from a given source

Syntax

IMAGE(source, [alt_text], [sizing], [height], [width])

Parameters

  • source: Required. The image file path, using the https protocol
  • alt_text: Optional. Alternative text describing the image
  • sizing: Optional. 0=fit to cell maintaining aspect ratio (default), 1=fill cell ignoring aspect ratio, 2=original size, 3=custom height and width
  • height: Optional. The custom height in pixels (used when sizing=3)
  • width: Optional. The custom width in pixels (used when sizing=3)

Example

=IMAGE("https://example.com/image.png", "Logo")
Returns: ImageSince: Microsoft 365