Solved

Excel 2007 Groupings

Posted on 2011-09-16
6
306 Views
Last Modified: 2012-05-12
Hi Experts

I have 400 rows in a spreadsheet with the following columns

Name, Value, Reference Number

The data looks like this

SMITH      100      GT12121
SMITH        50       YT81779
JONES     20       HYYHHG
JONES     120     UTTTYY
JONES      75     UYUUU
BLACK       37     HKIKKKI
BLACK     20      YHHYH

I am trying to present it so I have a count of each name, a total by each name (on the same row if possible) and the detail rolled up so that if challenged, we can see how the total and count were derived.

So I should end up with

SMITH   Count = 2 SUM=150
JONES COunt= 3 SUM=215
BLACK COunt=2 SUM=57

Then click a cross alongside each of these rows (or whatever mechanism that works, and it expands the selection to show each row that contributed to the total.

I am not bothered about the wording (so Count=xxx SUM= xxx is arbitary as long as its obvious what the numbers represent)

Looking at it Im sure I should be able to achieve this using a pivot table or grouping, butcant figure it out.

Has anyone ever done anything similar and can help me out?
0
Comment
Question by:stummj
[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
  • 3
  • 3
6 Comments
 
LVL 24

Accepted Solution

by:
StephenJR earned 500 total points
ID: 36550405
Not exactly that format but have you tried a pivot table? Will do all the donkey work in a second.

Name in the row field, and Ref in the data field twice (sum and count).
0
 
LVL 24

Expert Comment

by:StephenJR
ID: 36550428
Missed your reference to pivot table in the question so obviously you do know about them. Attached is what it would look like (in 2003).
pic.JPG
0
 

Author Comment

by:stummj
ID: 36550464
Hi Stephen

Yes tried doing a pivot and can get sum or the count, but not both at the same time AND RETAIN THE ROLLED UP VALUES.

I end up with rolled up valued but no count or a sum and a count but no rolled up values
0
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!

 
LVL 24

Expert Comment

by:StephenJR
ID: 36550473
Not sure I follow, but if you double-click any of the names you get the option to see the underlying values.
0
 

Author Comment

by:stummj
ID: 36550488
So you do! That wasn't immediately obvious. Very many thanks :)
0
 

Author Closing Comment

by:stummj
ID: 36550494
Wonderful! Thank you
0

Featured Post

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
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…
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

717 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