Sort by rows containig certain text in ANY column

marteloto1

New Member
Joined
Sep 10, 2011
Messages
5
HELLO! The table has 40 columns. The word "control" can be part of the text inside any cell in any row or column. I need to sort by rows that contain the word "control" as part of their text in ANY column. Do I have to create a sorting level for each of the 40 columns? Is there a quicker way to do it? KIND REGARDS
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
Welcome to the board!

Try this, which should return TRUE if 'control' is found within the text anywhere in A1:AN1 (adjust the range to suit). You'll need to paste down this formula in one helper column, then filter the helper column for TRUE.

=ISNUMBER(LOOKUP(9999,SEARCH("control",A1:AN1)))
 
Upvote 0
THANK'S A LOT, it works perfect. It is saving me a lot of time!
KIND REGARDS

HELLO! The table has 40 columns. The word "control" can be part of the text inside any cell in any row or column. I need to sort by rows that contain the word "control" as part of their text in ANY column. Do I have to create a sorting level for each of the 40 columns? Is there a quicker way to do it? KIND REGARDS
 
Upvote 0

Forum statistics

Threads
1,223,243
Messages
6,170,971
Members
452,371
Latest member
Frana

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top