This is kind of a hack, but you could use a "hidden" field (not displayed in the form) which serves as a temporary location to do some math.
my:tempfield = sum(Hours[Event = "A" or Event = "B" or Event = "C" or Event = "D" or
Event = "E"])
my:destinationfield = my:tempfield + Hours[Event = "F"]