I have a task. I want to start at the right of an array, and look at every second cell towards the left. I need to count the number of zeros I find.
The diagram shows which cells I am referring to. The sequence goes 0,8,0,8,1 so I need to return the value '2' to show that I found 2 zeros before I hit a non-zero value.
ChatGPT is usually good at formula and macro creation but this was beyond its ability.
Any ideas?
countzeros2.jpg
Bookmarks