I created this formula to convert all the values to mm whether they're listed as "imperial", "metric", "cm" or "inch" in column L. It works pretty well, but if the value is already listed as "mm", the formula adds an extra "0" to the end of the number (see row 9).
The formula I've used in columns P,Q & R is:
=IFERROR((IF(OR(L2="imperial",L2="inch"),(ROUNDUP(CONVERT(I2,"in","mm"),0)),(CONVERT(I2,"cm","mm")))),"")
The formula I've used in columns P,Q & R is:
=IFERROR((IF(OR(L2="imperial",L2="inch"),(ROUNDUP(CONVERT(I2,"in","mm"),0)),(CONVERT(I2,"cm","mm")))),"")