Ok so I have a formula which calculates overtime. It pulls data from a range of 7 cells. Numbers are inputted into these cells and any number over 8 ($BC$12) is counted as overtime. However what I now want to add is a condition that if there is data in more than six of the below referenced cells, then the value in the 7th cell automatically gets added to the total regardless of its value. So as an example in the formula below if for example I have data in the cells as follows:
T17 = 4
X17 = 4
AB17 = 4
AF17 = 4
AJ17 = 4
AN17 = 4
AR17 = 4
The total number of hours is 28 so it would not trigger a secondary formula for overtime counted over 40 hours, and since none of the cells values exceed 8 then that would not trigger this formula to count it as overtime. What i would like help in doing is since there IS values in more than six of the cells the value in AR17 should automatically counted so in this instance 4 would be the correct answer.
Would nesting the below formula into a counta do the trick and if so how would I go about doing that and setting the condition to include the any number if the there is values greater than 0 in greater than 6 cells?
![]()
Please Login or Register to view this content.
Bookmarks