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?
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.

jim may

Well-known Member
Joined
Jul 4, 2004
Messages
7,484
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
14,761
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,484
Jason - Thanks for the Needed Correction on difference in 2003 and 2007; I had already forgotten that. Jim
 
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,163,983
Messages
5,834,707
Members
430,311
Latest member
JAC0617

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