Hi,
Can I mix IF with MID command?
I am trying a formula which is not working the way it should. Can you please help me ?
Q16 = 1, 0, 3, 7, 2 (I will have numbers between 1-9 in random order) I want to count all numbers above 1 (I dont want SUM). In this case I want result to be 4. (By COUNTing 1, 3, 7, and 2)
I tried : =IF(MID(Q16,1,1)>1,1)+IF(MID(Q16,4,1)>1,1)+IF(MID(Q16,7,1)>1,1)+IF(MID(Q16,10,1)>1,1)+IF(MID(Q16,13,1)>1,1,0)
I am getting result 5. Wherein it is even counting for a Zero. I want to count only 1-9.
Can you help me
Thanks in advance.
Martin
Can I mix IF with MID command?
I am trying a formula which is not working the way it should. Can you please help me ?
Q16 = 1, 0, 3, 7, 2 (I will have numbers between 1-9 in random order) I want to count all numbers above 1 (I dont want SUM). In this case I want result to be 4. (By COUNTing 1, 3, 7, and 2)
I tried : =IF(MID(Q16,1,1)>1,1)+IF(MID(Q16,4,1)>1,1)+IF(MID(Q16,7,1)>1,1)+IF(MID(Q16,10,1)>1,1)+IF(MID(Q16,13,1)>1,1,0)
I am getting result 5. Wherein it is even counting for a Zero. I want to count only 1-9.
Can you help me
Thanks in advance.
Martin