?
Solved

Excel grouping with subtotal

Posted on 2014-02-06
3
Medium Priority
?
194 Views
Last Modified: 2014-02-06
Hi, I have the following data
 
MYMONTH      E_NAME      XID      IS_LOCAL       TTLVOL
2013-11      Employee x      ESX      0       18,800
2013-11      Employee x      ESX      0             -  
2013-11      Employee x      ESX      1       1,110,200
If i use subtotal on the data i get

MYmonth              E_Name   XID IS_LOCAL ttlvol
Employee X Total 0               0      0       1,129,000

Is there another function that i can use to get the e_name to show up rather than 0?
0
Comment
Question by:Extreme66
  • 2
3 Comments
 
LVL 85

Expert Comment

by:Rory Archibald
ID: 39838789
I assume you mean the XID since E_NAME is showing? There is no direct way to do it within the subtotal function, but if you don't include an aggregate function for that column (so you get a blank cell rather than 0), you can then select the column once the subtotals are in place, press f5, click Special..., choose Blanks and OK. This will select the empty cells in the subtotals rows. You may then type = and press the up arrow once, then press Ctrl+Enter together.
0
 

Author Comment

by:Extreme66
ID: 39838801
Sorry i actually typed it in because i was thinking it, bu basically i want to get a subtotal grouped on multiple fields. Is that possible?
0
 
LVL 85

Accepted Solution

by:
Rory Archibald earned 600 total points
ID: 39838894
I'm not sure exactly what you mean by that? You can have multiple levels of subtotal but the subtotals only occur based on a change in one column. Perhaps you would be better off with a pivot table? (Personally, I rarely use subtotals)
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
This article describes a serious pitfall that can happen when deleting shapes using VBA.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question