How do I output sum of rows in a dynamic range? Output should be dynamic too.

Anonymous
2023-01-05T15:34:56+00:00

My input:

I want a formula in cell E2 that should spill the corresponding row's sum. Something like below, but I know this formula is wrong. That is where I need help.

Thanks in advance.

Microsoft 365 and Office | Excel | For business | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes
Answer accepted by question author
  1. riny 20,530 Reputation points Volunteer Moderator
    2023-01-05T15:41:41+00:00

    That could be:

    =BYROW(A2:C4,LAMBDA(a,SUM(a)))

    Image

    Alternatively:

    =MMULT(A2:C4,{1;1;1})

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Anonymous
    2023-01-05T15:49:39+00:00

    =MMULT(A2#,SEQUENCE(COLUMNS(A2#),,,0))

    found it. thanks anyway.

    0 comments No comments