serge
Well-known Member
- Joined
- Oct 8, 2008
- Messages
- 1,444
- Office Version
- 2007
- Platform
- Windows
Hi,
I'm working with binary code on the left side from P:AN, and on the right, I'm looking for a formula that will be able to count the (1) as long as they are not separated by a (0).So for example the first row P9:AN9.The formula will start in cell AQ9 and drag to the right, is that possible ? Thank you.
I'm working with binary code on the left side from P:AN, and on the right, I'm looking for a formula that will be able to count the (1) as long as they are not separated by a (0).So for example the first row P9:AN9.The formula will start in cell AQ9 and drag to the right, is that possible ? Thank you.
Excel Workbook | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
P | Q | R | S | T | U | V | W | X | Y | Z | AA | AB | AC | AD | AE | AF | AG | AH | AI | AJ | AK | AL | AM | AN | AO | AP | AQ | AR | AS | AT | AU | AV | AW | |||
9 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | ||||||||
10 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 1 | 1 | 1 | 2 | 3 | 4 | 1 | ||||||
11 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 1 | 2 | 1 | 1 | 3 | 2 | 2 | ||||||
12 | 1 | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 4 | 3 | 3 | 4 | 3 | |||||||
13 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 2 | 2 | 1 | 2 | 2 | ||||||||||
14 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 3 | 1 | 1 | 1 | 2 | ||||
15 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 7 | 3 | 1 | 1 | 2 | 2 | ||||||||
Sheet |