MUNIT function
Munit function has been introduced with Excel 2013. It returns the unit matrix for the specifid dimension.
For example, you can select a1:c3 range and while selection is there, type = Munit(3), press Ctrl + Shift + Enter and after this, all 6 cells in range a1:c3, will be filled up with data as 1 in cells A1, B2,C4.
Syntax :-
MUNIT(dimension)
where dimension is an integer which willl act as dimension number This should be greater than 0 always.
The applications/code on this site are distributed as is and without warranties or liability. In no event shall the owner of the copyrights, or the authors of the applications/code be liable for any loss of profit, any problems or any damage resulting from the use or evaluation of the applications/code.