Assign value from conditions based on a table

The “Interval Merge” action should do it. See the attached example:

interval-match.morph (4.3 KB)

See also: Rules on 2 or more tables