billybob11
New Member
- Joined
- Apr 20, 2019
- Messages
- 3
Hi guys
I have the following formula which fires when 2 values in a range are the same or less than 2:
I am trying to add additional criteria so it also fires when 3 values in a range are the same or less than 3, where 4 values in a range are the same or less than 4, 5 values in a range are the same or less than 5 and 6 values in a range are the same or less than 6.
I keep getting myself in a muddle. Can anyone suggest how this can be done?
Thanks
I have the following formula which fires when 2 values in a range are the same or less than 2:
Code:
=IF(T5<>"","CL",IF($E$2="In",IF(AND(A5<>"",COUNTIF($F$5:$F$45,"<2")>=2,O5<=2),"B3","")))
I am trying to add additional criteria so it also fires when 3 values in a range are the same or less than 3, where 4 values in a range are the same or less than 4, 5 values in a range are the same or less than 5 and 6 values in a range are the same or less than 6.
I keep getting myself in a muddle. Can anyone suggest how this can be done?
Thanks