Thanks to visit codestin.com
Credit goes to docs.context.dev

Skip to main content
Logo Link URLs return image bytes directly. Pair them with Excel’s IMAGE() function to render a logo in a cell when one is available. Logo Link in Microsoft Excel
The IMAGE() function is available in Excel for Microsoft 365, Excel for Microsoft 365 for Mac, Excel for the web, Excel 2024, Excel 2024 for Mac, Excel for iPhone, and Excel for Android phones. It is not available in older perpetual-license desktop Excel versions.

Prerequisites

  • A Context.dev account with a Logo Link publicClientId (prefix brandLL_). Copy it from the Logo Link dashboard.
Excel may fetch images through Microsoft infrastructure rather than from your browser. Test the workbook with your Logo Link referring-domain restrictions enabled before sharing it. Replace brandLL_xxx with your public client ID, then paste this formula into a cell:

Use a domain column

Reference a cell containing the domain instead of hardcoding it. If cell A2 holds github.com:
Drag the formula down a column to fetch logos for an entire list of domains.

Syntax

From Microsoft’s IMAGE() reference:

Sizing modes

Example with alt text and fill mode:
Adjust row height and column width so logos display at a reasonable size. Sizing mode 0 (fit and maintain aspect) usually looks best. Icons are usually square; wordmarks may be wider.

Handle missing images

Not every domain resolves to an image that Excel can display. Keep the domain visible in another column and use IFERROR when a blank cell is preferable to a formula error:

Limitations

  • Excel applies its own URL, format, redirect, and security rules to IMAGE(). A URL that renders in a browser can still appear blank in a workbook.
  • Logo Link can return different image media types. Check the response’s Content-Type when diagnosing a format-specific failure.
  • Referring-domain restrictions can behave differently when Microsoft fetches the image. Test the exact workbook flow rather than weakening the restriction by default.
  • Do not download, persist, or rehost the returned Logo Link image file. Follow the Logo Link usage boundaries.

Next steps

Google Sheets

Same workflow in Google Sheets with the IMAGE() formula.

Logo Link reference

All Logo Link URL options and the publicClientId setup.

Zapier integration

Programmatic enrichment for spreadsheet rows beyond logos.

Logo Link dashboard

Manage your public client ID, restrictions, and usage.