Would Like To Hide Row Based On Cell Contents

maesoph

New Member
Joined
Mar 22, 2011
Messages
3
Dear All:

I need to hide all of the rows in a spreadsheet (15,000 rows) that have a part number that does not start with M or K. I have found lots of simple macros that do something similar but usually not with any sort of textual evaluation. Any help please?
 

Some videos you may like

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.

jim may

Well-known Member
Joined
Jul 4, 2004
Messages
7,478
What Version of Excel are you running?

If xl2007 + then why not use an Auto-Filter, Selecting "Text-Filters" - and Begins With
K, or Begins with M
 

maesoph

New Member
Joined
Mar 22, 2011
Messages
3
Well, this is a little embarrasing. I am running Windows 7 and cannot find the Help-About to figure out which version of Excel I am running.
 

jasonb75

Well-known Member
Joined
Dec 30, 2008
Messages
11,886
Office Version
  1. 365
Platform
  1. Windows

ADVERTISEMENT

Well, this is a little embarrasing. I am running Windows 7 and cannot find the Help-About to figure out which version of Excel I am running.

Jim's suggestion should work then, Help - About was moved in excel 07.

Office button > excel options > resources > about.
 

jim may

Well-known Member
Joined
Jul 4, 2004
Messages
7,478
Jason - Thanks for the Needed Correction on difference in 2003 and 2007; I had already forgotten that. Jim
 

Watch MrExcel Video

Forum statistics

Threads
1,122,216
Messages
5,594,886
Members
413,947
Latest member
gizmolucy

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