Share via

Sum total with Vstack and Drop function

Anonymous
2023-11-08T09:46:47+00:00

Hi

This is my formula

=VSTACK(DROP(VSTACK(SORT(FILTER(DP8:DT200,(DP8:DP200<>"")*(DP8:DP200<>"Total")),{2,3,1},-1),"Total"),-1),SUM(DQ8:DQ200)/2)

How can i get this total in Column N .....row 34

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

Answer accepted by question author

Rory Archibald 18,965 Reputation points Volunteer Moderator
2023-11-08T09:56:11+00:00

I don't understand why you use VSTACK to add "Total" to the bottom, then immediately use DROP to remove it?

I suspect you want something like:

=VSTACK(SORT(FILTER(DP8:DT200,(DP8:DP200<>"")*(DP8:DP200<>"Total")),{2,3,1},-1),HSTACK("Total",SUM(DQ8:DQ200)/2))

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Anonymous
    2023-11-08T10:21:40+00:00

    100%

    Thanks

    Was this answer helpful?

    0 comments No comments