Assume numbers are typed in range A1:A2 of multiple worksheets in a workbook. The task is the compute the MODE of these numbers. Mode is defined as the value which appears most frequently in a range of cells. So, if one types 1,3,4,3,5,6 in range A1:A6, then the mode will be 3 - 3 appears maximum number of times in the range.
In MS Excel, there is a built in way to compute the MODE. The formula for the same is
=MODE(A1:A6)
Unfortunately, MODE() is not a 3D function and therefore, something like this return a #REF error
=MODE(sheet1:sheet3!A1:A6)
This behavior seems somewhat vague because other basic Mathematical and Statistical functions such as SUM(), COUNT(), AVERAGE(), MAX(), MIN(), VAR(), and STDEV() work just fine across multiple worksheets.
To compute MODE across multiple worksheets, you may refer to my solution in this workbook.