[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Sorting in Excel with Group Headers if the Exist

Posted on 2016-09-10
2
Medium Priority
?
116 Views
Last Modified: 2016-10-03
I have a table in Excel that contains some directory information - Name, Department, Extension, etc.

On another worksheet  within the same workbook, I want to created a filtered view of the directory. I only want to display a few of the fields, and I want them to be sorted by the person's last name. That part I can handle.

Here's the trick, I want a header row for each letter of the alphabet (but only if last names exist beginning with that letter), followed by the alphabetical list of names that begin with that letter.

So, instead of:

Appleby
Antler
Bates
Bogus
Dreyfus
Goony

I would get:

A
Appleby
Antler

B
Bates
Bogus

D
Dreyfus

G
Goony

(Nothing that "C", "E", "F" do not appear since there are no last names beginning with those records.)

I'm not sure if this is even possible, but I'm hoping it is!

Thanks!!
0
Comment
Question by:GMC02108
[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 Comments
 
LVL 33

Expert Comment

by:Subodh Tiwari (Neeraj)
ID: 41792743
It would help all of us if you can upload a sample workbook and mock up the desired output manually to show all the steps you want to automate to get the desired output.
0
 
LVL 33

Accepted Solution

by:
Rob Henson earned 2000 total points
ID: 41793932
You could get something similar with a Pivot Table.

See attached.
Directory.xlsx
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article describes how to import an Outlook PST file to Office 365 using a third party product to avoid Microsoft's Azure command line tool, saving you time.
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

650 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