drom
Well-known Member
- Joined
- Mar 20, 2005
- Messages
- 543
- Office Version
- 2021
- 2019
- 2016
- 2013
- 2011
- 2010
- 2007
Hi and Thanks in Advance
I have 2 columns, Column("A:A") with employes names sorted always in acending order and Column(B:B") with Totals.
I would like to know if some one has a quik macro to get in Column(B:B) how many times the totals where positive in a row.
So if B2:B12= -52, and B13:B15=45, B17=-5, B18=2, then B1:18 answer is 3 I mean we get 3 cells with positive values in a row, "a serie of 3 positive numbers in a row"
if B2:B18=10 then we get 17
I have 2 columns, Column("A:A") with employes names sorted always in acending order and Column(B:B") with Totals.
I would like to know if some one has a quik macro to get in Column(B:B) how many times the totals where positive in a row.
So if B2:B12= -52, and B13:B15=45, B17=-5, B18=2, then B1:18 answer is 3 I mean we get 3 cells with positive values in a row, "a serie of 3 positive numbers in a row"
if B2:B18=10 then we get 17