montecarlo2012
Well-known Member
- Joined
- Jan 26, 2011
- Messages
- 986
- Office Version
- 2010
- Platform
- Windows
Hi all.
Working on
This array formula count the interval between the same value. example
I would like to see, how is possible to get the same kind of results using just For Next loop
in order to keep looking for the rest of the numbers.
Please your input really matters to me,
Thanks for reading.
Working on
VBA Code:
=SMALL(IF($C$2:$C$15=$E$3, MATCH(ROW($C$2:$C$15), ROW($C$2:$C$15)), ""), ROW(A1)+1)-SMALL(IF($C$2:$C$15=$E$3, MATCH(ROW($C$2:$C$15), ROW($C$2:$C$15)), ""), ROW(A1))-1
This array formula count the interval between the same value. example
I would like to see, how is possible to get the same kind of results using just For Next loop
in order to keep looking for the rest of the numbers.
Please your input really matters to me,
Thanks for reading.