delete entire row on contiguous duplicates

ninez87

New Member
Joined
Aug 5, 2017
Messages
7
hi need help for a look that do

Run a loop cycle that searches for the word "Special" in column A1 (the cell a1 contains different words inside)
If true looking if b2 = "Quantity" deletes b1 row)


in red is what i need to be deleted
Thanks for help


A B
Special 175377.2 QG #LDP 2443 #AVP 4748
Quantity
ECEPI4431
EPILZ7501031
ESI6AV21232DB030AX01
ESI6ES72151AG400XB01
ESI6ES72231BL320XB02
ESI6ES79548LC020AA01
EDATTHQQS001
Special 175427 QG #LDP 2442 #AVP 4726
Quantity
ECEBGS86251
ECEOCM50100BB071
EPILZ7501031
ESI3LD22130TK511
ESI6ES72151AG400XB01
ESI6ES72231BL320XB01
ESI6ES79548LC020AA01
ESI6AV21232DB030AX01
ETMXB4BVB61
Special 175364 BD #LDP 2441 #AVP 4740
Quantity
ETMA9F791021
Special 175364 QG #LDP 2439 #AVP 4751
Quantity
Special 175346 QG #LDP 2438 #AVP 4750
Quantity
ECEOCM50100BB071
EPILZ7501031
ESI3LD22130TK511
ESI6ES72151AG400XB01
ESI6ES72231BL320XB01
ESI6ES79548LC020AA01
ESI6AV21232DB030AX01
ETMXB4BVB61
Special 175364 BD #LDP 2441 #AVP 4740
Quantity
Special 175364 QG #LDP 2439 #AVP 4751
Quantity
Special 175346 QG #LDP 2438 #AVP 4750
Quantity
GIA IN ORDINE DA UFFICIO TECNICO - NON SERVE ORDINARE!!!Quantity

<colgroup><col><col></colgroup><tbody>
</tbody>
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"

Forum statistics

Threads
1,216,558
Messages
6,131,400
Members
449,648
Latest member
kyouryo

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