Hi and welcome in A7 enter =MIN(40,A6) ( or instead of 40 refer to a cell containing the limit) in A8 enter =MAX(0,A6-40) (same remark)
__________________
Using O365 v2503 - Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
|