This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
@Pandey19 This is the output from my solution above, with subtotals placed after groups and grand total at the end. Currently in alphabetical order of names but that could be fixed in a few extra steps.