JustATheory
IS-IT--Management
Greetings,
I need to test for three cell comparisons before doing a particular calculation. If any of the three fail, then I need to move down a row and test again. I've tried If statements and ElseIf, but no sure if their is neater way.
A B C
Account DateFrom DateTo
123456 1/1/05 1/31/05
123456 1/1/05 1/31/05
123456 1/15/05 1/31/05
123456 1/15/05 2/14/05
789123 1/15/05 2/14/05
789123 1/15/05 2/14/05
In this example these are the pass / fail scenarios:
Rows 1 & 2 Pass
2 & 3 Fail
3 & 4 Fail
4 & 5 Fail
5 & 6 Pass
I appreciate any advice you can give.
Thanks,
Andy
I need to test for three cell comparisons before doing a particular calculation. If any of the three fail, then I need to move down a row and test again. I've tried If statements and ElseIf, but no sure if their is neater way.
A B C
Account DateFrom DateTo
123456 1/1/05 1/31/05
123456 1/1/05 1/31/05
123456 1/15/05 1/31/05
123456 1/15/05 2/14/05
789123 1/15/05 2/14/05
789123 1/15/05 2/14/05
In this example these are the pass / fail scenarios:
Rows 1 & 2 Pass
2 & 3 Fail
3 & 4 Fail
4 & 5 Fail
5 & 6 Pass
I appreciate any advice you can give.
Thanks,
Andy