ststern45
Well-known Member
- Joined
- Sep 17, 2005
- Messages
- 976
- Office Version
- 365
- 2010
- Platform
- Windows
Hi everyone,
I have this formula that will count how many consecutive zeroes appear at the bottom of a range:
=MAX((U20:U219<>"")*(ROW(U20:U219)))-MAX((U20:U219<>0)*(U20:U219<>"")*(ROW(U20:U219)))
How do I change the formula where it counts from the beginning of a range. For example,
U20 = 0
U21 = 0
U22 = 0
U23 = 1 (Note: can be any number other than 0 (zero)
So the correct calculation would be 3 (3 consecutive zeroes)
Thanks in advance!!
I have this formula that will count how many consecutive zeroes appear at the bottom of a range:
=MAX((U20:U219<>"")*(ROW(U20:U219)))-MAX((U20:U219<>0)*(U20:U219<>"")*(ROW(U20:U219)))
How do I change the formula where it counts from the beginning of a range. For example,
U20 = 0
U21 = 0
U22 = 0
U23 = 1 (Note: can be any number other than 0 (zero)
So the correct calculation would be 3 (3 consecutive zeroes)
Thanks in advance!!