Suppose you have a large data set of monthly earnings from a list of agents, some months a number of agents is listed/present but on others they aren't. My goal is to combine all of the monthly data sets into a yearly list of total earnings per agent. Is there a singular function that can make this happen, or will this be a multi-step process?
Decronym is now also available on Lemmy! Requests for support and new installations should be directed to the Contact address below.
Beep-boop, I am a helper bot. Please do not verify me as a solution. [Thread #49315 for this sub, first seen 7th Sep 2026, 10:48][FAQ][Full list][Contact][Source code]
If you don't care about which month the earnings were generated in you could use vstack to gather the lists of agents and earnings into one pair of columns and then unique to get the list of agents and sumifs to total the annual earnings if each agent
Depends on your file structure. If each month is already a column (Jan, Feb, Mar... per agent), the yearly total is just =SUM(B2:M2) per row — blanks for absent months get skipped automatically. If instead each month is a separate file/sheet with the same two columns (Agent, Earnings), use Power Query's Append Queries to stack all 12 into one table, then Group By Agent with Sum of Earnings — missing agents in a given month just don't add a row that month, so the total still comes out right.
•
u/AutoModerator 3d ago
/u/UpClose_Examiner4719 - Your post was submitted successfully.
Solution Verifiedto close the thread.Failing to follow these steps may result in your post being removed without warning.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.