ihateexcell
New Member
- Joined
- Aug 8, 2023
- Messages
- 5
- Office Version
- 365
- Platform
- Windows
I am trying to understand why is it if I use the following
, it successfully sums as expected once it hits an empty cell the next row but...
if I change it to
, it only adds the first value in N column even though M4 and M5 matches the lookup value too
Index is column M while Total is column N
Code:
=SUM(N3:INDEX(N3:N11,MATCH(TRUE,(M3:M11=""),0)))
if I change it to
Code:
=SUM(N3:INDEX(N3:N11,MATCH(1,(M3:M11),0)))
Index is column M while Total is column N