Excel IMAGE Function
Chala mitrano — today we learn IMAGE. Read Why → What → How, then try the practice list.
चला मित्रांनो — आज IMAGE शिकू. Why → What → How वाचा, मग practice करा.
चलो दोस्तों — आज IMAGE सीखते हैं। Why → What → How पढ़ो, फिर practice करो।
Purpose
Insert an image into a cell from a URL (and optional alt text / sizing).
Return value
An image displayed in the cell (not a normal file embed dialog).
Syntax
Arguments
| Argument | Required? | Description |
|---|---|---|
source | Required | URL of the image (https). |
alt_text | Optional | Accessibility text. |
sizing | Optional | How the image fits (fit, fill, original, custom — see Microsoft docs for codes). |
height | Optional | Pixel height when custom. |
width | Optional | Pixel width when custom. |
Version
Microsoft 365. Needs web access / permitted URLs. Not classic Insert → Pictures replacement for every case.
How to use — Why → What → How
Why: Dashboards sometimes need logos or product thumbs that update from a link.
What: IMAGE pulls a picture into the grid from a URL.
How — numbered steps:
- Get a direct image URL (ends with .png/.jpg when possible).
- Type =IMAGE("https://…/logo.png","Company logo").
- Widen the row height so you can see it.
- Use alt_text for screen readers.
- Avoid huge images — they slow the sheet.
Ravindra Bagale's Tip
Only use trusted URLs. Random internet images are a security and licensing risk.
Ravindra Bagale's Tip – मराठी
फक्त विश्वासू URL वापरा. रँडम इंटरनेट images धोकादायक.
Ravindra Bagale's Tip – हिंदी
सिर्फ़ भरोसेमंद URL। रैंडम इंटरनेट images जोखिम।
Ravindra Bagale's Tip
IMAGE is not a substitute for proper brand asset management.
Ravindra Bagale's Tip – मराठी
IMAGE म्हणजे पूर्ण brand asset system नाही.
Ravindra Bagale's Tip – हिंदी
IMAGE पूरा brand asset सिस्टम नहीं।
Worked examples
1) Simple logo
Place a PNG URL.
Result: Logo in cell
What it means: Replace with a real allowed URL when you practise.
2) Product thumb from table
URL in B2.
Result: Thumb + alt from name
What it means: Alt text from product name.
3) Sizing hint
Custom size if supported.
Result: Sized image
What it means: Confirm sizing codes on your build.
4) Dashboard header
Merge-friendly row height.
Result: Header art
What it means: Training branding toy.
5) Broken URL behaviour
Bad link.
Result: Error / blank depending on build
What it means: Always test links.
Common errors
Practice tasks (10+)
- Task 1. Insert IMAGE with a public sample PNG you own rights to.Hint: try on a tiny range first
- Task 2. Add meaningful alt_text.Hint: try on a tiny range first
- Task 3. Pull URL from a cell.Hint: try on a tiny range first
- Task 4. Adjust row height.Hint: try on a tiny range first
- Task 5. Document licensing of the image.Hint: try on a tiny range first
- Task 6. Compare to Insert → Pictures.Hint: try on a tiny range first
- Task 7. Explain security caution.Hint: try on a tiny range first
- Task 8. Try sizing arguments on your build.Hint: try on a tiny range first
- Task 9. Note what happens offline.Hint: try on a tiny range first
- Task 10. Bonus: IMAGE beside a product XLOOKUP.Hint: try on a tiny range first
Quick quiz
Answers: Q1=True, Q2=False, Q3=True, Q4=True
Related: LAMBDA · LET · GROUPBY · Function hub · Learning path