projectmoneytree
New Member
- Joined
- Apr 13, 2014
- Messages
- 2
Basically I have data in columns I and J.
When i drag the following formula (in column K) down, it checks if any two consecutive values in column J are equal to the top two (J3 and J4), and if so, it returns an answer.
IF(AND($J$3=$J5,$J$4=$J6,),($I$3-$I5)+($I$4-$I6),0)
My problem is that I also need to compare any two consecutive values to J4 and J5, J6 and J7.... all the way to J10000 and J10001. Each comparison in a new column.
If i remove the $ and drag the formula horizontally first, than i will still have to add the $ manually to each formula after so that i can autofill it downwards. Any thoughts how this can be accomplished without the manual labour
Thanks to anybody with an idea, I really appreciate it!!!
When i drag the following formula (in column K) down, it checks if any two consecutive values in column J are equal to the top two (J3 and J4), and if so, it returns an answer.
IF(AND($J$3=$J5,$J$4=$J6,),($I$3-$I5)+($I$4-$I6),0)
My problem is that I also need to compare any two consecutive values to J4 and J5, J6 and J7.... all the way to J10000 and J10001. Each comparison in a new column.
If i remove the $ and drag the formula horizontally first, than i will still have to add the $ manually to each formula after so that i can autofill it downwards. Any thoughts how this can be accomplished without the manual labour
Thanks to anybody with an idea, I really appreciate it!!!