JMP will suspend normal business operations for our Winter Holiday beginning on Wednesday, Dec. 24, 2025, at 5:00 p.m. ET (2:00 p.m. ET for JMP Accounts Receivable).
Regular business hours will resume at 9:00 a.m. EST on Friday, Jan. 2, 2026.
We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.
How to directly calculate the number of consecutive conditions?
Nov 18, 2019 07:30 AM(7407 views)
For example, take "height" as an example and count the consecutive number of "height"s in the row greater than the "height" in the previous row.
I added an auxiliary column h to determine whether the "height" of the row is greater than the "height" of the previous row, and then counted the consecutive "height" of the row greater than the "height" of the previous row in the other column.If the "height" is less than the "height" of the previous row have to recalculate.