Quantcast
Channel: Active questions tagged worksheet-function - Super User
Viewing all articles
Browse latest Browse all 932

How to sum in Excel row values from the row that had a specific value in another column

$
0
0

If a row from another column has a word (like Sum), how to make the other column sum up all the numbers from below the last Sum and until the previous row?

I need a formula to put in O5, O8 and O13. If possible, O2 and below should just do it via a table formulas as N1:O is a table called Table1.

Eventually the formula should look like =if(exact(N1, "Sum"), ???, RANDBETWEEN(1, 1000)) - the RANDBETWEEN is just an example, that will be another formula to determine actual numbers.

 NO
1SumNumbers
220
335
410
5Sum=? should be 65
6230
770
8Sum=? should be 300
91
102
113
124
13Sum=? should be 10

Viewing all articles
Browse latest Browse all 932

Trending Articles