Find exact match within a column and select

trw88

New Member
Joined
Apr 5, 2021
Messages
5
Office Version
  1. 2010
Platform
  1. Windows
I have a sheet with part numbers in column A and qty's in column B (this is the only data on the sheet). I want code to find the 0 qty's in column B and delete those rows. It has to be an exact match so that rows that contain 30, 10, etc. would not get deleted. Thanks in advance!

1617731456925.png
 

Joe4

MrExcel MVP, Junior Admin
Joined
Aug 1, 2002
Messages
57,023
Office Version
  1. 365
Platform
  1. Windows
Thank you very much Joe for explaining
You are welcome.

Like I said, nothing wrong with it, it still works. Just an extra unnecessary piece.
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!

A Durfani

Active Member
Joined
Apr 12, 2019
Messages
256
Office Version
  1. 2013
Platform
  1. Windows
You are welcome.

Like I said, nothing wrong with it, it still works. Just an extra unnecessary piece.
Yes, got your point and
I do not know how to write code, I got it from somewhere on Google and just modified it.
 

Watch MrExcel Video

Forum statistics

Threads
1,130,163
Messages
5,640,515
Members
417,149
Latest member
drbro

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