Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Recently converted all data from an old program to Excel list of ex-students
for a reunion. New request is to sort by Maiden name for the women, and Last Name for the men for the book. First sort - YearGrad; Second Sort - either maiden or last name. Can I somehow say sort by maiden unless blank, then sort by last name? -- Working Mom (redundant wording) |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I'd add another column--call it "name to Sort"
then use a formula to fill it: =if(c2<"",c2,d2) Where C2 held the maiden name and D2 held the current last name. mcsmith1x wrote: Recently converted all data from an old program to Excel list of ex-students for a reunion. New request is to sort by Maiden name for the women, and Last Name for the men for the book. First sort - YearGrad; Second Sort - either maiden or last name. Can I somehow say sort by maiden unless blank, then sort by last name? -- Working Mom (redundant wording) -- Dave Peterson |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Awesome! It works!
-- Working Mom (redundant wording) "Dave Peterson" wrote: I'd add another column--call it "name to Sort" then use a formula to fill it: =if(c2<"",c2,d2) Where C2 held the maiden name and D2 held the current last name. mcsmith1x wrote: Recently converted all data from an old program to Excel list of ex-students for a reunion. New request is to sort by Maiden name for the women, and Last Name for the men for the book. First sort - YearGrad; Second Sort - either maiden or last name. Can I somehow say sort by maiden unless blank, then sort by last name? -- Working Mom (redundant wording) -- Dave Peterson |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
You could add an extra column for sorting, say SortName with a formula:
=IF(MaidenName="",Surname,MaidenName) Hope this helps "mcsmith1x" wrote: Recently converted all data from an old program to Excel list of ex-students for a reunion. New request is to sort by Maiden name for the women, and Last Name for the men for the book. First sort - YearGrad; Second Sort - either maiden or last name. Can I somehow say sort by maiden unless blank, then sort by last name? -- Working Mom (redundant wording) |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Select rows and sort based on type | Excel Discussion (Misc queries) | |||
data sort is not including all columns in sort | Excel Discussion (Misc queries) | |||
sorting more than 3 keys | Excel Discussion (Misc queries) | |||
"-" ignored in sort | Excel Discussion (Misc queries) | |||
HELP! How do you--> Lock a set of rows but also link worksheets to | Excel Discussion (Misc queries) |