Solved

# Excel 2007 Groupings

Posted on 2011-09-16
304 Views
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
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

LVL 24

Accepted Solution

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

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

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

LVL 24

Expert Comment

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

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

Author Closing Comment

ID: 36550494
Wonderful! Thank you
0

## Featured Post

Question has a verified solution.

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

### Suggested Solutions

This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.
###### Suggested Courses
Course of the Month6 days, 15 hours left to enroll

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

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