Changing the Position of the Dollar Sign

Written by Allen Wyatt (last updated February 3, 2024)
This tip applies to Word 2007, 2010, 2013, 2016, 2019, Word in Microsoft 365, and 2021


Steven often receives documents from people who incorrectly place the dollar sign after the amount instead of before (10$ instead of $10). He wonders if there is an easy way to find all instances where the dollar sign is after the amount and move it to before the amount.

This can actually be done quite quickly using the Find and Replace capabilities of Word. Here are the steps to follow:

  1. Press Ctrl+H. Word displays the Replace tab of the Find and Replace dialog box.
  2. Click the More button, if it is visible. (See Figure 1.)
  3. Figure 1. The Replace tab of the Find and Replace dialog box.

  4. Select the Use Wildcards check box.
  5. In the Find What box, enter this: ([0-9]{1,})$
  6. In the Replace With box, enter this: $\1
  7. Click Replace All.

The pattern entered in step 4 tells Word that you want to replace any number of digits followed by a dollar sign with (in step 5) a dollar sign followed by whatever was matched by the first part of the pattern in step 4. (The \1 indicates you want the first part of whatever was matched by the pattern, as denoted by parentheses.)

The pattern in step 4 won't work if there could be other characters mixed in with the numbers. For instance, if you use these steps and the original is something like 1,234.56$ then this find and replace sequence would end up with 1,234.$56, which is not what you want. If your document might contain these types of amounts, then you'll want to use the following pattern in step 4:

([0-9.,]@)$

The Replace With box (step 5) can remain as shown above. This new pattern allows for any contiguous series of digits (0-9), commas, and periods followed by a dollar sign. If you think that some of the amounts might have spaces before the dollar sign, then you could run a second find-and-replace operation and place space in the pattern just before the dollar sign. (Don't place the space within the brackets; you may not appreciate the results you get.)

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (1504) applies to Microsoft Word 2007, 2010, 2013, 2016, 2019, Word in Microsoft 365, and 2021.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Getting the Proper Type of Ellipses

Type three periods in a row, and the AutoCorrect feature in Word kicks in to exchange that sequence for a special ...

Discover More

Detecting Types of Sheets in VBA

When processing workbook information in a macro, you may need to step through each worksheet to make some sort of ...

Discover More

Getting Rid of All TA Fields

The first step in creating a table of authorities is to mark citations throughout your document. If you want to get rid ...

Discover More

Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 today!

More WordTips (ribbon)

Copying Found Items to a New Document

Word allows you to use its searching capabilities to easily find multiple items in a document. What if you want to copy ...

Discover More

Easily Finding Superscripts

Word has a powerful Find and Replace capability, but sometimes it can be tricky to figure out exactly how to use it. Here ...

Discover More

Searching for Footnote and Endnote Marks

Do you want to quickly search for any footnote or endnote marks in your document? Word makes it easy using the standard ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 8 + 7?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)


This Site

Got a version of Word that uses the ribbon interface (Word 2007 or later)? This site is for you! If you use an earlier version of Word, visit our WordTips site focusing on the menu interface.

Videos
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.