hiteshchouhan
New Member
- Joined
- Apr 11, 2018
- Messages
- 7
Hi All,
I am using the below array function to count the number of weeks which are meeting the criteria of >=100, from last 4 weeks which have scores and ignore the weeks containing 'NA'. However it is not giving me the desired answer.
The formula is working fine if the criteria is <100 but when I change the condition it gives me false results that too different for each row.
Formula:
=SUM((IF(IF(COLUMN(H2:X2)>=LARGE(IF(H2:X2<>"NA",COLUMN(H2:X2)),MIN(COUNT(H2:X2),4)),IF(H2:X2<>"NA",H2:X2))>=100,1,0)))
Data Set:
WK1 WK2 WK3 WK4 WK5 WK6 WK7 WK8
100 95 154 NA NA 111 124 NA
So the answer should be 3 (Meeting for WK7, WK6 & WK3) however it is giving me 8.
Can anybody please help me with this.
Regards,
Hitesh
I am using the below array function to count the number of weeks which are meeting the criteria of >=100, from last 4 weeks which have scores and ignore the weeks containing 'NA'. However it is not giving me the desired answer.
The formula is working fine if the criteria is <100 but when I change the condition it gives me false results that too different for each row.
Formula:
=SUM((IF(IF(COLUMN(H2:X2)>=LARGE(IF(H2:X2<>"NA",COLUMN(H2:X2)),MIN(COUNT(H2:X2),4)),IF(H2:X2<>"NA",H2:X2))>=100,1,0)))
Data Set:
WK1 WK2 WK3 WK4 WK5 WK6 WK7 WK8
100 95 154 NA NA 111 124 NA
So the answer should be 3 (Meeting for WK7, WK6 & WK3) however it is giving me 8.
Can anybody please help me with this.
Regards,
Hitesh