How to Use Multiple Tags in One Cell in Excel – 4 Methods

 

The following dataset contains three columns: Employee’s Name, ID, and Tags. The Tags column contains three types of information.

To find managers only:

 Dataset of Excel Multiple Tags in One Cell


Method 1 – Use  Text Filters for Multiple Tags in One Cell

  • Select any cell and press CTRL+SHIFT+L.

Use of Text Filters for Multiple Tags in One Cell

You will see a drop-down arrow beside every column header.

  • Click the drop-down arrow in “Tags”.
  • Go to Text Filters.
  • Choose Custom Filter.

The Custom Autofilter dialog box will be displayed.

  • Choose contains in the 1st drop-down arrow.
  • Enter Manager in the second space.
  • Click OK.

This is the output.

Applying Text Filters for Multiple Tags in One Cell in Excel

Read More: How to Add Tags in Excel


Method 2 – Applying an Advanced Filter in Excel

To find the “Employee Name” of managers:

Steps:

  • Enter the criteria including Asterisks:

Tags >> *Manager* in C19:C20.

Applying Advanced Filter on Multiple Tags in One Cell in Excel

  • Select any cell in the dataset.
  • Open the Advanced Filter by clicking the Data tab > Sort & Filter > Advanced.

In Advanced Filter:

  • Specify the range of your whole dataset in List range.
  • Enter the criteria in Criteria range.
  • Check Unique records only.
  • Click OK.

This is the output.

Result of using Advanced Filter for Multiple Tags in One Cell

Read More: How to Add Tag to Properties in Excel


Method 3 – Applying the SEARCH Function to Use Multiple Tags in One Cell

Apply the SEARCH function.

Steps:

  • Select E5 to keep the search result.
  • Use the formula in E5.
=SEARCH("Manager",D5:D17,1)

The text to be found is “Manager”. The text range is D5:D171 is the starting number for the character the search.

Using SEARCH Function to Use Multiple Tags in One Cell

  • Press ENTER.

This is the output:  a number shows that the cell contains manager.

Read More: How to Filter Tags in Excel

 


Method 4 – Combining Functions for Multiple Tags

Use a combination of IF, ISNUMBER, and SEARCH functions.

Steps:

  • Select E5 to keep the search result.
  • Use the formula in E5.
=IF(ISNUMBER(SEARCH("Manager",D5:D17,1)),"Found","Not Found")

Employing Combined Functions for Multiple Tags in Excel

  • Press ENTER.

Formula Breakdown

  • The SEARCH function searches for “Manager” in D5:D17.
    • Output:  {8;#VALUE!;#VALUE!;12;#VALUE!;#VALUE!;#VALUE!;#VALUE!;#VALUE!;#VALUE!;#VALUE!;#VALUE!;#VALUE!}.
  • The ISNUMBER function checks whether the cell value is a number.
    • Output: {TRUE;FALSE;FALSE;TRUE;FALSE;FALSE;FALSE;FALSE;FALSE;FALSE;FALSE;FALSE;FALSE}.
  • The IF function performs the same logical test. If the test is TRUE, it returns Found. Otherwise, it returns Not Found. Here, Inverted Comma must be used.

This is the output.


 Things to Remember

  • To clear the filter option, select any cell within the filtered data and press CTRL+SHIFT+L.

Practice Section

Practice here.

Practice Section for Excel Multiple Tags in One Cell


Download Practice Workbook

Download the practice workbook.


 

Related Articles


<< Go Back to Tags in ExcelData Analysis with Excel Learn Excel

Get FREE Advanced Excel Exercises with Solutions!
Musiha Mahfuza Mukta
Musiha Mahfuza Mukta

Musiha Mahfuza Mukta is a marine engineer who loves exploring Excel and VBA programming. To her, programming is a time-saving tool for dealing with data, files, and the internet. She's skilled in Rhino3D, Maxsurf, C++, MS Office, AutoCAD, and Excel & VBA, going beyond the basics. With a B.Sc in Naval Architecture & Marine Engineering from BUET, she's shifted gears and now works as a content developer. In this role, she creates techy content exclusively focused on Excel... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo