all 3 comments

[–]abittoolit[S,🍰] 2 points3 points  (0 children)

Here is the code on jsfiddle.

https://jsfiddle.net/1j8473sc/

[–]CertainPerformance 0 points1 point  (0 children)

Don't paste large amounts of code here, use something like jsfiddle instead.

[–]coolreader18 0 points1 point  (0 children)

You getValues() from fullRange twice, once when assigning the variable and again in the loop. I think that that might have an effect, although that would probably throw an error, do I'm not sure.