Calculations across multiple columns based on non-blanks

Not applicable

Dear Experts,


Help please! Thank you in advance.


In the spreadsheet attached:

Row 1 notes different tram numbers

Column A notes distance travelled.

Columns B onwards has "1"s in rows noting where failures have occurred at corresponding distances, as per Column A.


I want to calculate the deltas only between the "1"s in each column. For example, in Column B there are four "1"s.  There should be 3 corresponding deltas.  Is there a way to do this, using arrays perhaps?


Many thanks.

1 Reply

For clarity, I should add the deltas must be of the distances in Column A.

Related Conversations
flashing a white screen while open new tab
cntvertex in Discussions on
13 Replies
Tabs and Dark Mode
cjc2112 in Discussions on
22 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
28 Replies
Edge insider Dev bypasses IE mode website list
HotCakeX in Enterprise on
4 Replies