Skip to content
Free Excel Tutorials
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Data Analysis

  • How To Filter Data in Excel
  • What-If Analysis: Scenarios and Goal Seek in Excel
  • How to calculate current stock or inventory in Excel
  • Example of COUNTIFS with variable table column in Excel
  • How To Insert and Customize Sparklines in Excel

References

  • LOOKUP function: Description, Usage, Syntax, Examples and Explanation
  • How to use Excel FORMULATEXT function
  • How to use Excel MATCH Function
  • Basic INDEX MATCH approximate in Excel
  • Extract data with helper column in Excel

Data Validations

  • Excel Data validation number multiple 100
  • Excel Data validation exists in list
  • Excel Data validation date in next 30 days
  • Excel Data validation must contain specific text
  • Excel Data validation don’t exceed total

First match in range with wildcard in Excel

by

This tutorial shows how to calculate First match in range with wildcard in Excel using the example below;

Formula

=INDEX(range,MATCH(val&"*",range,0))

Explanation

To get the value of the first match in a range using a wildcard, you can use an INDEX and MATCH formula, configured for exact match.

In the example shown, the formula in F5 is:

=INDEX(B5:D5,MATCH(E5&"*",B5:D5,0))

How this formula works

Working from the inside out, MATCH is used to locate the position of the first match in the range B5:D5. The lookup_value is based on the value in B5 joined with an asterisk (*) as a wildcard, and match_type is set to zero to force an exact match:

MATCH(E5&"*",B5:D5,0)

E5 contains the string “calc” so, after concatenation, the MATCH function looks like this:

MATCH("calc*",B5:D5,0)

and returns 3 inside index as “row_num”:

=INDEX(B5:D5,3)

Although the range B5:D5 is horizontal and contains just one row, INDEX correctly retrieves the 3rd item in the range: “calc 1500”.

Post navigation

Previous Post:

COSH function: Description, Usage, Syntax, Examples and Explanation

Next Post:

Excel Data validation require unique number

Leave a Reply Cancel reply

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

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others

Logical Functions

  • NOT function: Description, Usage, Syntax, Examples and Explanation
  • How to use IFS function in Excel
  • How to return blank in place of #DIV/0! error in Excel
  • How to use Excel XOR Function
  • TRUE function: Description, Usage, Syntax, Examples and Explanation

Date Time

  • Get days between dates in Excel
  • Get week number from date in Excel
  • Generate series of dates by weekends in Excel
  • How to show last updated date stamp in Excel
  • Calculate total hours that fall between two times in Excel

Grouping

  • Categorize text with keywords in Excel
  • Group arbitrary text values in Excel
  • How to randomly assign people to groups in Excel
  • Map inputs to arbitrary values in Excel
  • Running count group by n size in Excel

General

  • Select, Insert, Rename, Move, Delete Worksheets in Excel
  • Find Most Frequently Occurring Word in Excel Worksheet
  • Check if multiple cells have same value with case sensitive in Excel
  • How to calculate total from percentage in Excel
  • With vs Without Array Formula in Excel
© 2025 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning