If code is not possible maybe a formula would work..