Excel sum with relative positions -
How do I work from B2 to C2?
B2 = A10 or just 10 (favorite)
c2 = A25 or just 25 (favorites)
Generally you only use SUM (A10: A25) , But values in B2 and C2 are not definite, they change depending on the input. I can use MATCH to find numbers, but how do I tell SUM to use those numbers? The value of yoga is always in the same column.
You can use an indirect function for this, e.g.
= SUM (indirect (B2): indirect (C2)) If you enter the entire cell name (A10, A25) Can live with.
Or in the bus there is a number of B2 and C2, you can use
= SUM (indirect (address (B2; 1)): indirect (Address (C2; 1))) (Hopefully I found columns and rows in the correct order!)
Comments
Post a Comment