I am trying to create and IF statement that basically will look at values in different cells in the same row and would give me the difference between each cell, however is there is a 0 in one cell it would look at the next available number in a cell that is not a zero and will give me that difference:
For Example:
If this is my row of numbers I would need to find the % difference between only the percent and skip the zeros
[TABLE="width: 576"]
<tbody>[TR]
[TD="class: xl67, width: 64, bgcolor: transparent"]Week 1
[/TD]
[TD="class: xl67, width: 64, bgcolor: transparent"]Week 2
[/TD]
[TD="class: xl67, width: 64, bgcolor: transparent"]Week 3
[/TD]
[TD="class: xl67, width: 64, bgcolor: transparent"]Week 4
[/TD]
[TD="class: xl67, width: 64, bgcolor: transparent"]Week 5
[/TD]
[TD="class: xl67, width: 64, bgcolor: transparent"]Week 6
[/TD]
[TD="class: xl67, width: 64, bgcolor: transparent"]Week 7
[/TD]
[TD="class: xl67, width: 64, bgcolor: transparent"]Week 8
[/TD]
[TD="class: xl67, width: 64, bgcolor: transparent"]Week 9
[/TD]
[TD="class: xl67, width: 64, bgcolor: transparent"]Week 10
[/TD]
[TD="class: xl67, width: 64, bgcolor: transparent"]Week 11
[/TD]
[TD="class: xl67, width: 64, bgcolor: transparent"]Week 12
[/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent"]0%
[/TD]
[TD="class: xl66, bgcolor: transparent"]183%
[/TD]
[TD="class: xl66, bgcolor: transparent"]0%
[/TD]
[TD="class: xl66, bgcolor: transparent"]342%
[/TD]
[TD="class: xl66, bgcolor: transparent"]0%
[/TD]
[TD="class: xl66, bgcolor: transparent"]174%
[/TD]
[TD="class: xl66, bgcolor: transparent"]0%
[/TD]
[TD="class: xl66, bgcolor: transparent"]254%
[/TD]
[TD="class: xl66, bgcolor: transparent"]0%
[/TD]
[TD="class: xl66, bgcolor: transparent"]179%
[/TD]
[TD="class: xl66, bgcolor: transparent"]0%
[/TD]
[TD="class: xl66, bgcolor: transparent"]197%
[/TD]
[/TR]
</tbody>[/TABLE]
So this means my IF statement would skip Week 1 and look at the difference of Week 4 - Week 2, how can I build and IF Statement that can do that?
I really appreciate the help, this is very time sensitive, It is probably simple, but I am drawing a blank!
For Example:
If this is my row of numbers I would need to find the % difference between only the percent and skip the zeros
[TABLE="width: 576"]
<tbody>[TR]
[TD="class: xl67, width: 64, bgcolor: transparent"]Week 1
[/TD]
[TD="class: xl67, width: 64, bgcolor: transparent"]Week 2
[/TD]
[TD="class: xl67, width: 64, bgcolor: transparent"]Week 3
[/TD]
[TD="class: xl67, width: 64, bgcolor: transparent"]Week 4
[/TD]
[TD="class: xl67, width: 64, bgcolor: transparent"]Week 5
[/TD]
[TD="class: xl67, width: 64, bgcolor: transparent"]Week 6
[/TD]
[TD="class: xl67, width: 64, bgcolor: transparent"]Week 7
[/TD]
[TD="class: xl67, width: 64, bgcolor: transparent"]Week 8
[/TD]
[TD="class: xl67, width: 64, bgcolor: transparent"]Week 9
[/TD]
[TD="class: xl67, width: 64, bgcolor: transparent"]Week 10
[/TD]
[TD="class: xl67, width: 64, bgcolor: transparent"]Week 11
[/TD]
[TD="class: xl67, width: 64, bgcolor: transparent"]Week 12
[/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent"]0%
[/TD]
[TD="class: xl66, bgcolor: transparent"]183%
[/TD]
[TD="class: xl66, bgcolor: transparent"]0%
[/TD]
[TD="class: xl66, bgcolor: transparent"]342%
[/TD]
[TD="class: xl66, bgcolor: transparent"]0%
[/TD]
[TD="class: xl66, bgcolor: transparent"]174%
[/TD]
[TD="class: xl66, bgcolor: transparent"]0%
[/TD]
[TD="class: xl66, bgcolor: transparent"]254%
[/TD]
[TD="class: xl66, bgcolor: transparent"]0%
[/TD]
[TD="class: xl66, bgcolor: transparent"]179%
[/TD]
[TD="class: xl66, bgcolor: transparent"]0%
[/TD]
[TD="class: xl66, bgcolor: transparent"]197%
[/TD]
[/TR]
</tbody>[/TABLE]
So this means my IF statement would skip Week 1 and look at the difference of Week 4 - Week 2, how can I build and IF Statement that can do that?
I really appreciate the help, this is very time sensitive, It is probably simple, but I am drawing a blank!