How to Insert and Capitalize Cell Text in an Excel IMAGE URL
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.

- 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.
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.
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.
Click on the cell where you want the final image to be displayed.
Type the formula: =IMAGE("https://.../product/"&UPPER(A98)&"/current/...", 3, 90, 90). Replace the URL fragments with your actual website path.
Replace 'A98' in the formula with the actual cell reference that contains the text you want to capitalize and insert.
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.

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. Open WPS Spreadsheet: Launch WPS Office and create a new blank spreadsheet or open your existing workbook.
- 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. 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.

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.




