A quick question.
Which of these 2 functions should I use - which one will use less CPU etc?
I want to return "1" for every 3,6,8,11,14,17 or 19th of every 19 numbers, and a "0" for the others.
I believe #2 will do much less work, tell me if I am wrong.
Which of these 2 functions should I use - which one will use less CPU etc?
I want to return "1" for every 3,6,8,11,14,17 or 19th of every 19 numbers, and a "0" for the others.
- IF(MOD(MOD(MOD(MOD(MOD(MOD(MOD(<Number>,19),17),14),11),8),6),3)=0,1,0)
- CHOOSE(MOD(<Number>-1,19)+1,0,0,1,0,0,1,0,1,0,0,1,0,0,1,0,0,1,0,1)
I believe #2 will do much less work, tell me if I am wrong.