G
Guest
Hello,
I have a tricky problem I would like to see if anyone is able to figure out.
I need to find a certain “condition†that occurs many times through 400 rows
of data. I want to place 2 formulas in cells C500 & D500 that will find and
calculate the below example:
A B What I need
1 100 98
2 95 97 ----- A2 dips below B2. I need this
condition identified first.
3 90 94 ----- A3 is less than A2. Column B is no
longer relevant.
4 85 91 ----- A4 is less than A3 Column B is no
longer relevant.
5 89 92 ----- A5 is larger than A4 Column B is no
longer relevant.
6 numbers in A & B after this do not matter after rows 2 thru 5
“condition†has been found.
7 continue down A & B to find the next “condition†as rows 2 thru 5.
Now in C500 instead of a result of “TRUEâ€, could C500 contain the total
number of times this “condition†occurred between rows 1 thru 400? (the
values in columns A & B constantly change).
Finally in cell D500, what formula can I place here to (per example above)
calculate the % decline in value of A4 from A2? With this knowledge, I need
all the % declines of all the “conditions†found to result into an AVERAGE %
drop showing up in cell D500.
Thank you very much to anyone who can help me!
George B.
I have a tricky problem I would like to see if anyone is able to figure out.
I need to find a certain “condition†that occurs many times through 400 rows
of data. I want to place 2 formulas in cells C500 & D500 that will find and
calculate the below example:
A B What I need
1 100 98
2 95 97 ----- A2 dips below B2. I need this
condition identified first.
3 90 94 ----- A3 is less than A2. Column B is no
longer relevant.
4 85 91 ----- A4 is less than A3 Column B is no
longer relevant.
5 89 92 ----- A5 is larger than A4 Column B is no
longer relevant.
6 numbers in A & B after this do not matter after rows 2 thru 5
“condition†has been found.
7 continue down A & B to find the next “condition†as rows 2 thru 5.
Now in C500 instead of a result of “TRUEâ€, could C500 contain the total
number of times this “condition†occurred between rows 1 thru 400? (the
values in columns A & B constantly change).
Finally in cell D500, what formula can I place here to (per example above)
calculate the % decline in value of A4 from A2? With this knowledge, I need
all the % declines of all the “conditions†found to result into an AVERAGE %
drop showing up in cell D500.
Thank you very much to anyone who can help me!
George B.