Creating a sum on each row for the data from Column B to Z.
Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
kariinaracampbell
5 - Atom
‎11-04-2021
08:41 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Labels:
- Labels:
- Expression
2 REPLIES 2
17 - Castor
‎11-04-2021
08:54 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Here's how you can do this:
- Transpose the data. This is what will make this process dynamic, it will turn your month columns into rows. Since the unknown fields box is checked, any new months added will also be handled.
- Summarize the data by employee. This produces the summed amount
- Join the sum back to the original dataset. Here I have moved the 'unknown fields' box before the sum, so it will always be the last column.
15 - Aurora
‎11-04-2021
09:07 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
You could actually also achieve the same result without the join! As @Luke_C has done transposing the data, we could instead then crosstab it back (from row labels to column headers) but also ticking the total column in method for aggregation alongside sum (as seen below).
Ticking SUM method for aggregation:
Ticking Total Column method for aggregation:
Kind regards,
Jonathan
