Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Excel grouping with subtotal

Posted on 2014-02-06
3
Medium Priority
?
193 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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.
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …

610 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