Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 316
  • Last Modified:

Excel 2007 Groupings

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
stummj
Asked:
stummj
  • 3
  • 3
1 Solution
 
StephenJRCommented:
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
 
StephenJRCommented:
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
 
stummjAuthor Commented:
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
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

 
StephenJRCommented:
Not sure I follow, but if you double-click any of the names you get the option to see the underlying values.
0
 
stummjAuthor Commented:
So you do! That wasn't immediately obvious. Very many thanks :)
0
 
stummjAuthor Commented:
Wonderful! Thank you
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now