Skip to content
Skip to content
Menu
Alchemex
  • Products
    • Sage Intelligence Reporting
      • Enrolment
    • Velixo
      • Enrolment
        • Velixo for Acumatica
        • Velixo for Sage Intacct
  • Services
    • Consulting
    • Training
    • Development
  • Support
    • Support Overview
    • Create Support Ticket
    • Book A Session
    • Knowledgebase
  • About
    • About Us
  • Contact
Alchemex

Using Wildcards to make finding or replacing data in Excel quicker and easier

By admin on July 26, 2018April 19, 2019

This tip is useful when you want to replace or find text using Wildcards, e.g. if you have a column where you would like to replace everything after the space character with text.

What are Wildcards?

Wildcards are characters that are used to represent one or more characters.

The following wildcard characters can be used in Excel:

  • * (asterisk) – Can take the place of one or more characters
  • ? (question mark) – Takes the place of one character
  • ~ (tilde) – Indicates that the next character shouldn’t be treated as a wildcard

The examples below show how these wildcard characters can be used.

Using the * character to replace

Consider the following data in column A which contains an Id and Name separated by a space.

If you wanted to keep only the names, you could use the Text to Columns option from the Data Tab, choose Delimited, select Space and keep the column with names.

An alternate method is:

  1. Highlight column A
  2. Select Find and Replace, this can be easily done using the shortcut Ctrl and H
  3. In the Find What box, type * (asterisk and a space)

  1. Click Replace All

The * wildcard character replaced everything up until a space was found.

Using the ? and ~ character to find/filter

Consider the following data in column A that contains names.

If you wanted to filter on Names that started with the letter L and that were 4 letters in total, you would filter/search on L??? which would result in the following rows being shown.

Notice that Linda is not part of the filtered list since it contains 5 letters.

If you wanted to filter only on rows that started with L?, you would filter/search on L~?* which would result in one row being shown since ~ specifies that the next character shouldn’t be treated as a wildcard.

Searching on L?* would show the following two rows.

This is a quick and easy method to replace or find data.

The post Using Wildcards to make finding or replacing data in Excel quicker and easier appeared first on Sage Intelligence.

Source: Excel on Steroids

Post navigation

Learn how to check your Containers in the Sage Intelligence Connector module
Learn how to use Column Variables for more descriptive headings in your cloud reports

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • Why Working In Excel Works
  • Alchemex Welcomes Velixo 6 For MYOB Advanced
  • Welcome to Velixo Reports Version 4.2
  • Part 3 of 3: Learn how to create a Management Pack in Sage 50cloud Intelligence
  • Part 3 of 3: Create and customize reports easily with the Financial Report Designer

Search

Contact Us

Phone: +61 2 9890 2339
Email: sales@alchemex.com.au
Address: PO Box 212, Deaken West, Canberra, Australia, 2600
©2025 Alchemex | WordPress Theme by SuperbThemes.com