Clipping the colours (and thus nudging outliers to the gamut boundary) is technically gamut mapping which you can do that with any min & max or median operators readily available in any spreadsheet application.
Clipping the colours (and thus nudging outliers to the gamut boundary) is technically gamut mapping which you can do that with any min & max or median operators readily available in any spreadsheet application.