Solved

Excel grouping with subtotal

Posted on 2014-02-06
3
186 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 200 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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
VB loop to open the file from the network drive 30 67
Macro 3 22
TT Auto DashBoard 4 33
Macro Filter fix 3 13
What is a Form List Box? (skip if you know this) The forms List Box is the alternative to the ActiveX list box. If you are using excel 2007, you first make sure you have a developer tab (click the Orb)->"Excel Options"->Popular->"Show Developer tab…
Approximate matching with VLOOKUP and MATCH seems to me to be a greatly under-used technique, and one which is vital for getting good performance out of large lookups. Until recently I would always have advised using an exact match for simplicity an…
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.

743 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now