Standard function available and on most platforms uses a lookup table and not a check with 3 ranges.
Attach a file by drag & drop or click to upload