Function Problems

How to Insert and Capitalize Cell Text in an Excel IMAGE URL

Chanuka GeekiyanageChanuka Geekiyanage Nov 11, 2026 868 views

Question details

The user needs to construct a dynamic image URL using the Excel IMAGE function by concatenating a specific cell value while automatically converting that cell's text to uppercase.

How to Insert and Capitalize Cell Text in an Excel IMAGE URL
Product
Excel
Device & OS
not provided
Scenario
Building dynamic image URLs in spreadsheets using product codes, SKUs, or IDs stored in other cells that must be capitalized for the image link to resolve correctly.
Observed behavior
The user wants a formula structure that combines the base URL, an uppercase transformation of a referenced cell, and the remaining URL string to correctly render an image inside the cell.
Before you start

Ensure you are using a version of Excel or WPS Spreadsheet that supports the IMAGE function, and verify that the target image URLs are publicly accessible via HTTPS.

Solution 1Recommended

Use Concatenation with the UPPER Function

Combine the base URL, the cell reference wrapped in the UPPER function, and the rest of the URL string using the ampersand (&) operator.

In Excel, you can build dynamic text strings by concatenating different pieces of text. When placing this inside the IMAGE function, wrapping the cell reference in UPPER() ensures that even if the original data is lowercase, the URL will request the uppercase version.

1
Select the target cell

Click on the cell where you want the final image to be displayed.

2
Enter the IMAGE and UPPER formula

Type the formula: =IMAGE("https://.../product/"&UPPER(A98)&"/current/...", 3, 90, 90). Replace the URL fragments with your actual website path.

3
Adjust the cell reference

Replace 'A98' in the formula with the actual cell reference that contains the text you want to capitalize and insert.

4
Execute the formula

Press Enter. The cell will load the image dynamically based on the capitalized text. You can drag the fill handle down to apply this formula to other rows.

Use Concatenation with the UPPER Function
Case-Sensitivity Caution: If the destination website requires the original casing or lowercase text, simply omit the UPPER function and use =IMAGE("https://.../product/"&A98&"/current/...", 3, 90, 90) instead.
Seamless Spreadsheet Formulas

Dynamically Load Images with Formulas in WPS Spreadsheet

WPS Spreadsheet fully supports advanced functions like IMAGE, UPPER, and text concatenation. You can effortlessly manage product catalogs and dynamic image links in a highly compatible environment.

  1. 1. Open WPS Spreadsheet: Launch WPS Office and create a new blank spreadsheet or open your existing workbook.
  2. 2. Enter the Formula: Select your target cell and input your concatenated IMAGE and UPPER formula, for example: =IMAGE("url_start"&UPPER(A2)&"url_end").
  3. 3. Apply and Drag: Press Enter to execute the formula, then click and drag the fill handle down to apply the dynamic image generation to multiple rows.
100% compatible with Microsoft Excel formulas and formats.Supports dynamic IMAGE functions for modern spreadsheet building.Lightweight and fast, handling thousands of rows with ease.Free to download and use for everyday spreadsheet tasks.
microsoft office alternative - wps office

Frequently Asked Questions

Why is my IMAGE formula returning a #VALUE! or #BLOCKED! error?

This happens if the constructed URL is incorrect, blocked by your network or firewall, or if the concatenated text results in a broken link. Ensure the target URL is publicly accessible, does not require a login, and starts with 'https'.

Can I use LOWER instead of UPPER for my image URLs?

Yes. If the destination server requires lowercase text instead of uppercase, simply replace UPPER(A98) with LOWER(A98) in your formula string.

How do the numbers at the end of the IMAGE formula work?

The IMAGE function takes optional parameters for sizing: =IMAGE(source, [alt_text], [sizing], [height], [width]). In the example =IMAGE(url, 3, 90, 90), the '3' sets the sizing mode to custom, and '90, 90' defines the exact height and width as 90 pixels.