I have got a set of data for which i need to count/sum for the below example
cell A1 to A10 contains values; 1 1 1 1 1 0 0 1 1 0
Now i need to sum/count the values of the range until it reaches the first 0 (zero). Here it would give 5
I have got a set of data for which i need to count/sum for the below example
cell A1 to A10 contains values; 1 1 1 1 1 0 0 1 1 0
Now i need to sum/count the values of the range until it reaches the first 0 (zero). Here it would give 5
Formula:
Please Login or Register to view this content.
Perfect !!....thanx
Or
=SUM(A1:INDEX(A1:A10,MATCH(0,A1:A10,0)-1))
If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
Mark your thread as Solved
If the suggestion helps you, then Click *below to Add Reputation
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks