Link to home
Start Free TrialLog in
Avatar of Extreme66
Extreme66Flag for United States of America

asked on

Excel grouping with subtotal

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?
Avatar of Rory Archibald
Rory Archibald
Flag of United Kingdom of Great Britain and Northern Ireland image

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.
Avatar of Extreme66

ASKER

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?
ASKER CERTIFIED SOLUTION
Avatar of Rory Archibald
Rory Archibald
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial