# HistMax

Identifies the most prevalent greyscale value that occurs in a specified range of values.

## HistMax Inputs

Parameter | Description
Structure | This argument must reference a spreadsheet cell containing a Histogram or ColorHist data structure.
FirstBin | Specifies the first "bin" (0 to 255; default = 0) used to define the Histogram.
LastBin | Specifies the last "bin" (0 to 255; default = 255) used to define the Histogram.

## HistMax Outputs

Returns | A value representing the most common greyscale value, or #ERR if any of the input parameters are invalid.