order rows containing certain text string

nparsons75

Well-known Member
Joined
Sep 23, 2013
Messages
1,247
Office Version
  1. 2016
I have a large spreadsheet containing lots of data. (or will have).

In one of the columns will be text containing either:

in progress
Complete
Outstanding
etc.

I need a macro that when run shows only the rows containing my selected text crtieria. For example I will have a button i can assign the macro to named "Complete". Once pressed only rows containing COMPLETE in a column will be shown.

I have also grouped rows so not sure if this will be a problem.
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.

vds1

Well-known Member
Joined
Oct 5, 2011
Messages
1,200
This sounds to me like auto filter. Have you tried recording the macro ?
 

nparsons75

Well-known Member
Joined
Sep 23, 2013
Messages
1,247
Office Version
  1. 2016
Sometimes the easiest methods stare you in the face and you miss them..... Auto filter works fine, thank you.
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,651
Messages
5,838,577
Members
430,557
Latest member
MK15

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
Top