Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
sort name records according to criteria
I have sheet of names and addresses but some of the rows do not have the
name title ( Mr / Mrs ) . i.e they only have the name J. Doe instead of Mr J. Doe I would like to prepare the list for mail merge in order to do this, I want to split the list into 2 segments. 1 section of the rows of records containing full title and the 2nd section containing the records which have no title. How can I do this quickly without highlighting and cut/copy etc? It's a list of several thousand records. -- -keevill- |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
sort name records according to criteria
=IF(OR(LEFT(A1,2)="Mr",LEFT(A1,3)="Mrs"),"Mr/Mrs","")
then apply autofilter ctrl+G, Special, select Visibles, copy to another sheet/location, paste as values do the same for NON "Mr/Mrs" with changed formula: =IF(AND(LEFT(A1,2)<"Mr",LEFT(A1,3)<"Mrs"),"Mr/Mrs","") |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
sort name records according to criteria
"Jarek Kujawa" wrote in message ... =IF(OR(LEFT(A1,2)="Mr",LEFT(A1,3)="Mrs"),"Mr/Mrs","") then apply autofilter ctrl+G, Special, select Visibles, copy to another sheet/location, paste as values do the same for NON "Mr/Mrs" with changed formula: =IF(AND(LEFT(A1,2)<"Mr",LEFT(A1,3)<"Mrs"),"Mr/Mrs","") few more instructions needed please... where do I insert this text/command ? |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
sort name records according to criteria
These formulae (perhaps slightly changed to match your columns) should come
in a new column next to your table. Then you can use Sort or Autofilter. -- Wigi http://www.wimgielis.be = Excel/VBA, soccer and music "-keevill-" wrote: "Jarek Kujawa" wrote in message ... =IF(OR(LEFT(A1,2)="Mr",LEFT(A1,3)="Mrs"),"Mr/Mrs","") then apply autofilter ctrl+G, Special, select Visibles, copy to another sheet/location, paste as values do the same for NON "Mr/Mrs" with changed formula: =IF(AND(LEFT(A1,2)<"Mr",LEFT(A1,3)<"Mrs"),"Mr/Mrs","") few more instructions needed please... where do I insert this text/command ? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Not sure what function to use to return records that fit criteria | Excel Worksheet Functions | |||
When i sort records...Only from Colomn A to O does it sort the lis | Excel Discussion (Misc queries) | |||
How do I sort records that are on two lines in a spreadsheet? | Excel Worksheet Functions | |||
Saving Sort Criteria (or Sort Lists) | Excel Worksheet Functions | |||
count records meeting three criteria | Excel Worksheet Functions |