Preview

Use Word's Replace to Transpose a Column of Names

Satisfactory Essays
Open Document
Open Document
404 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Use Word's Replace to Transpose a Column of Names
Use Word's Replace to transpose a column of names
Available from:http://blogs.techrepublic.com.com/msoffice/?p=4156
Date: November 22nd, 2010
Author: Susan Harkins
Category: Microsoft Word

You’ll often see a column of names entered in a Word document either as a list or part of a table. Listing the names is no problem, but changing their order after they’re entered could be. For instance, let’s say your document contains a list of names entered in firstname lastname format, but you want them in lastname, firstname format. Do you have to re-enter them? No, there’s a simple wildcard trick you can use with Word’s Replace feature that will take care of the transposing for you.

To get Word to transform a list or column of names, do the following:

Select the list of names you want to transpose.
From the Edit menu, choose Replace. In Word 2010, click Replace in the Editing group on the Home tab.
Click the More button and check the Use Wildcards option. This is an important step—if you miss it, this technique won’t work.
In the Find What control, enter () (), with a space character between the two sets.
In the Replace With control, enter the following characters \2, \1, with a space character before the second slash character.
Click Replace All. Word will transpose the first and last names and separate them with a comma character.
When Word asks you to expand the search, click No, and then Close to return to the document.

Wildcard explanation

Once you understand the wildcards, the whole trick is easily exposed:

(): The parentheses aren’t true wildcards, not in a matching sense. They allow you to divide a pattern into logical sequences.
: The brackets mark the beginning and ending of a word or phrase.
\: The slash character replaces characters, and is used with a number that specifies a bracketed component (above).
In this case, the Find What code splits the two names into two separate sequences. The \2 component in the Replace What code

You May Also Find These Documents Helpful

  • Satisfactory Essays

    NT1210 Lab 1

    • 319 Words
    • 4 Pages

    The ASCII hex code for a blank space is 20. Blank spaces are necessary to represent in text so…

    • 319 Words
    • 4 Pages
    Satisfactory Essays
  • Good Essays

    Nt1310 Unit 4 Lab Report

    • 818 Words
    • 4 Pages

    Step 4: With the vi editor in command mode type in, “:ab Nathaniel NH” to set the abbreviation for Nathaniel. Next press the “shift” key and the “o” key to move the text down one line. This also will put the vi editor in insert mode. Then, “Nathaniel” should be typed in After “Nathaniel” is typed in, press the spacebar to replace it with the abbreviation “NH.”…

    • 818 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    Pt1420 Unit 6 Lab Report

    • 288 Words
    • 2 Pages

    Step 5 : Reverse the right substring and then repeat step3 and step4 until the…

    • 288 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    There is a separate subroutine that takes out all characters excepts for the alphabet. This subroutine is setup correctly.…

    • 204 Words
    • 1 Page
    Satisfactory Essays
  • Satisfactory Essays

    Pt1420 Unit 4

    • 380 Words
    • 2 Pages

    To _____delete_______ a row, click to the left of the row in the left margin.…

    • 380 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    10. Click this option at the File drop-down menu to save a previously named document with a new name.…

    • 1234 Words
    • 5 Pages
    Powerful Essays
  • Good Essays

    Nt1310 Unit 1 Study Guide

    • 846 Words
    • 4 Pages

    27. In a command line, what is the purpose of the ? in a filename?…

    • 846 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    apa format scavenger hunt

    • 805 Words
    • 5 Pages

    2. Rename this document by clicking “Save As.” Change the file name so it reads Your Last Name APA Scavenger Hunt.docx. For example, if your last name is Smith, type “Smith APA Scavenger Hunt.docx”.…

    • 805 Words
    • 5 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Ans : This matches any file with 2 characters, first being a lower case letter and the second being a number from 0 to 9…

    • 529 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Lab 1.4 ASCII

    • 349 Words
    • 3 Pages

    What is the ASCII hexadecimal code for a blank space? Why is it necessary to represent a blank space as a separate character in text? 32. Spaces are part of data.…

    • 349 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    Microsoft Basics Exam

    • 944 Words
    • 5 Pages

    3. You send a report to your boss for feedback and she returns it to you with her edits noted in the…

    • 944 Words
    • 5 Pages
    Good Essays
  • Satisfactory Essays

    3.06 P.E Log

    • 260 Words
    • 2 Pages

    * Copy and paste the information below into a word processing document. * Remember to copy from the top of the page. If you only copy the table, the formatting may not appear in your document. * For PCs: Select CTRL + C to copy and then CTRL + V to paste.…

    • 260 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Teco Company

    • 467 Words
    • 2 Pages

    , . . . . - . - -. ~,,","_ '~=' r ' - ..…

    • 467 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Japanese Script Titanic

    • 995 Words
    • 11 Pages

    . ( T , < na . * > - _G , > . ; , y2 T…

    • 995 Words
    • 11 Pages
    Satisfactory Essays
  • Good Essays

    Catia Automation

    • 4539 Words
    • 19 Pages

    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 Creating Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 Single Value . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 Multiple Value . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34…

    • 4539 Words
    • 19 Pages
    Good Essays