Math & Trig
Excel 2013
◉ 9 views
=MUNIT()
The MUNIT function returns the unit matrix for the specified dimension.
Applies To:
Excel for Microsoft 365Excel for Microsoft 365 for MacExcel 2024Excel 2024 for MacExcel 2021Excel 2021 for MacExcel 2019Excel 2016
=MUNIT(dimension)
Hover argument names in the table for details.
Output typeArray
Popularity3 / 100
VolatileNo
Dynamic ArrayNo
📥 Download sample .xlsx — Coming soon
▦ Try in Playground
Dedicated file for this function — safe & lightweight · sample data + live formulas
⬇ Download Sample Workbook
A dedicated .xlsx for =MUNIT() with Persian sample data & live formulas — open in Excel and practice.
- Sheet “Sample” — data table + formula in place
- Sheet “Guide” — syntax, arguments & tips from this page
- Instant & secure (token + rate limit)
🧠 🧠 Quiz this function
%d questions — syntax, example & errors — test yourself!
◧ Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
dimension |
Number | Required | Dimension is an integer specifying the dimension of the unit matrix that you want to return. It returns an array. The dimension has to be greater than zero. |
▣ Examples
Example 1
=MUNIT(3)
Example 2
=MUNIT(4) * B1
⚠ Common Errors
#VALUE!
If dimension is a value that’s equal to or smaller than zero (0), MUNIT returns the #VALUE! error value.
Fix: Use a positive integer
💬 Comments & Q&A 0 approved
🔒 Your comment will be published after review.Share your thoughts — visible after admin approval
No comments yet — be the first!