Question: Using this code I can add a class to divs when they get a certain amount of pixels from the top of the browser window. Is it possible to do this using % instead? so I can set it to be 50% from the top? This would mean a uniform effect on all screen sizes...

```
<script>
$(window).scroll(function() {
    $('.names').each(function(){
    var imagePos = $(this).offset().top;

    var topOfWindow = $(window).scrollTop();
        if (imagePos < topOfWindow+350) {
            $('.names').addClass("slideRight");
        }
    });
});
</script>

```

Answer: 
I Added an additional column with the following formula: =IF($A2=$A1,$D1,$D1+1)

A2 since I have a header row
D since this is the additional column

than conditional formatting on with the following formula: =isEven($D1)
the most reliable would be to use this formula:

```
=ISEVEN(SUMPRODUCT(--(A$1:A1<>A$2:A2)))

```