2. This function can also be used to calculate the number of breakfast meals for Wang Yunhua = SUMPRODUCT ((month (A2: A 1000) = 2) * (hour (A2: a1000 =1) * (hour (A2:). = 12)*(B2:B 1000= "Wang Yunhua"). This formula means that breakfast is before 9 o'clock, and Chinese food is from 1 1 to 12.