After spending too much time on this, I think Special-K99's formula from post 3 is best. That removes the unneeded COUNTIFs, but leaves the formula easy to read, especially with the line feeds.
Using his idea from post 7, and constructing the table (D148:F156) I constructed a shorted formula with CHOOSE. However, without the table, the formula is a bit obscure.
| A | B | C | D | E | F |
---|
Based on post 1 | | | | | | |
sign of A149 | sign of A150 | Result | | | | |
A150/A149-1 | | | | | | |
| | | | | | |
A149/A150-1 | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
1-A149/A150 | | | | | | |
| | | | | | |
A149/A150-1 | | | | | | |
<tbody>
[TD="align: center"]146[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]147[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]148[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]-80%[/TD]
[TD="align: right"]-1[/TD]
[TD="align: right"]-1[/TD]
[TD="align: center"]149[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]-1[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]-1[/TD]
[TD="align: center"]150[/TD]
[TD="align: right"]5[/TD]
[TD="align: right"][/TD]
[TD="align: right"]-80%[/TD]
[TD="align: right"]-1[/TD]
[TD="align: right"]1[/TD]
[TD="align: center"]151[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]-1[/TD]
[TD="align: right"]1[/TD]
[TD="align: center"]152[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]-80%[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: center"]153[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]-1[/TD]
[TD="align: center"]154[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]-1[/TD]
[TD="align: center"]155[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]1[/TD]
[TD="align: center"]156[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]1[/TD]
</tbody>
<tbody>[TR="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DAE7F5]#DAE7F5[/URL] "]
[TH="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DAE7F5]#DAE7F5[/URL] "]C148[/TH]
[TH="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DAE7F5]#DAE7F5[/URL] "]C150[/TH]
[TH="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DAE7F5]#DAE7F5[/URL] "]C152[/TH]
All 3 formulas return the same results, as far as I've tested. It still kind of nags me that there should be a cleaner, shorter formula, but I fear that it would require a bit more analysis of your model.
Good luck.