I am aware this is probably very simple, but I haven't been able to find a usable macro yet. I would like the data in the workbook that is not "Tuesday" (column L) and is not "3" or "4" (column I) to be deleted. All rows that have "Tuesday" and either "3" or "4" should not be deleted. Each row that is not deleted must have Tuesday in column L. All other cells are blank intentionally. The workbook will remain the same titled WKBK1 (no need to put the output data in a separate workbook nor separate spreadsheet).
Do you know what the macro would be so I don't have to copy and paste a formula over a large number of cells? Thanks.
WKBK1
<table border="0" cellpadding="0" cellspacing="0" width="777"><col style="width: 48pt;" width="64"> <col style="width: 55pt;" width="73"> <col style="width: 48pt;" width="64" span="10"> <tbody><tr style="height: 15pt;" height="20"> <td class="xl63" style="height: 15pt; width: 48pt;" width="64" height="20">A</td> <td class="xl63" style="width: 55pt;" width="73">B</td> <td class="xl63" style="width: 48pt;" width="64">C</td> <td class="xl63" style="width: 48pt;" width="64">D</td> <td class="xl63" style="width: 48pt;" width="64">E</td> <td class="xl63" style="width: 48pt;" width="64">F</td> <td class="xl63" style="width: 48pt;" width="64">G</td> <td class="xl63" style="width: 48pt;" width="64">H</td> <td class="xl63" style="width: 48pt;" width="64">I</td> <td class="xl63" style="width: 48pt;" width="64">J</td> <td class="xl63" style="width: 48pt;" width="64">K</td> <td class="xl63" style="width: 48pt;" width="64">L</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl63" style="height: 15pt;" height="20">2</td> <td class="xl64">
</td> <td class="xl65">
</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">3</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">Tuesday</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl63" style="height: 15pt;" height="20">3</td> <td class="xl64">
</td> <td class="xl65">
</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">3</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">Tuesday</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl63" style="height: 15pt;" height="20">4</td> <td class="xl64">
</td> <td class="xl65">
</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">1</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">Tuesday</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl63" style="height: 15pt;" height="20">5</td> <td class="xl64">
</td> <td class="xl65">
</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">1</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">Tuesday</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl63" style="height: 15pt;" height="20">6</td> <td class="xl64">
</td> <td class="xl65">
</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">4</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">Tuesday</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl63" style="height: 15pt;" height="20">7</td> <td class="xl64">
</td> <td class="xl65">
</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">4</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">Tuesday</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl63" style="height: 15pt;" height="20">8</td> <td class="xl64">
</td> <td class="xl65">
</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">7</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">Tuesday</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl63" style="height: 15pt;" height="20">9</td> <td class="xl64">
</td> <td class="xl65">
</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">7</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">Tuesday</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl63" style="height: 15pt;" height="20">10</td> <td class="xl64">
</td> <td class="xl65">
</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">7</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">Tuesday</td> </tr> </tbody></table>
WKBK1 (output)
<table border="0" cellpadding="0" cellspacing="0" width="777"><col style="width: 48pt;" width="64"> <col style="width: 55pt;" width="73"> <col style="width: 48pt;" width="64" span="10"> <tbody><tr style="height: 15pt;" height="20"> <td class="xl65" style="height: 15pt; width: 48pt;" width="64" height="20">A</td> <td class="xl65" style="width: 55pt;" width="73">B</td> <td class="xl65" style="width: 48pt;" width="64">C</td> <td class="xl65" style="width: 48pt;" width="64">D</td> <td class="xl65" style="width: 48pt;" width="64">E</td> <td class="xl65" style="width: 48pt;" width="64">F</td> <td class="xl65" style="width: 48pt;" width="64">G</td> <td class="xl65" style="width: 48pt;" width="64">H</td> <td class="xl65" style="width: 48pt;" width="64">I</td> <td class="xl65" style="width: 48pt;" width="64">J</td> <td class="xl65" style="width: 48pt;" width="64">K</td> <td class="xl65" style="width: 48pt;" width="64">L</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl65" style="height: 15pt;" height="20">2</td> <td class="xl66">
</td> <td class="xl67">
</td> <td class="xl65">
</td> <td class="xl65">
</td> <td class="xl65">
</td> <td class="xl65">
</td> <td class="xl65">
</td> <td class="xl65">3</td> <td class="xl65">
</td> <td class="xl65">
</td> <td class="xl65">Tuesday</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl65" style="height: 15pt;" height="20">3</td> <td class="xl66">
</td> <td class="xl67">
</td> <td class="xl65">
</td> <td class="xl65">
</td> <td class="xl65">
</td> <td class="xl65">
</td> <td class="xl65">
</td> <td class="xl65">3</td> <td class="xl65">
</td> <td class="xl65">
</td> <td class="xl65">Tuesday</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl65" style="height: 15pt;" height="20">4</td> <td class="xl66">
</td> <td class="xl67">
</td> <td class="xl65">
</td> <td class="xl65">
</td> <td class="xl65">
</td> <td class="xl65">
</td> <td class="xl65">
</td> <td class="xl65">4</td> <td class="xl65">
</td> <td class="xl65">
</td> <td class="xl65">Tuesday</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl65" style="height: 15pt;" height="20">5</td> <td class="xl66">
</td> <td class="xl67">
</td> <td class="xl65">
</td> <td class="xl65">
</td> <td class="xl65">
</td> <td class="xl65">
</td> <td class="xl65">
</td> <td class="xl65">4</td> <td class="xl65">
</td> <td class="xl65">
</td> <td class="xl65">Tuesday</td> </tr> </tbody></table>
Do you know what the macro would be so I don't have to copy and paste a formula over a large number of cells? Thanks.
WKBK1
<table border="0" cellpadding="0" cellspacing="0" width="777"><col style="width: 48pt;" width="64"> <col style="width: 55pt;" width="73"> <col style="width: 48pt;" width="64" span="10"> <tbody><tr style="height: 15pt;" height="20"> <td class="xl63" style="height: 15pt; width: 48pt;" width="64" height="20">A</td> <td class="xl63" style="width: 55pt;" width="73">B</td> <td class="xl63" style="width: 48pt;" width="64">C</td> <td class="xl63" style="width: 48pt;" width="64">D</td> <td class="xl63" style="width: 48pt;" width="64">E</td> <td class="xl63" style="width: 48pt;" width="64">F</td> <td class="xl63" style="width: 48pt;" width="64">G</td> <td class="xl63" style="width: 48pt;" width="64">H</td> <td class="xl63" style="width: 48pt;" width="64">I</td> <td class="xl63" style="width: 48pt;" width="64">J</td> <td class="xl63" style="width: 48pt;" width="64">K</td> <td class="xl63" style="width: 48pt;" width="64">L</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl63" style="height: 15pt;" height="20">2</td> <td class="xl64">
</td> <td class="xl65">
</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">3</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">Tuesday</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl63" style="height: 15pt;" height="20">3</td> <td class="xl64">
</td> <td class="xl65">
</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">3</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">Tuesday</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl63" style="height: 15pt;" height="20">4</td> <td class="xl64">
</td> <td class="xl65">
</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">1</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">Tuesday</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl63" style="height: 15pt;" height="20">5</td> <td class="xl64">
</td> <td class="xl65">
</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">1</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">Tuesday</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl63" style="height: 15pt;" height="20">6</td> <td class="xl64">
</td> <td class="xl65">
</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">4</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">Tuesday</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl63" style="height: 15pt;" height="20">7</td> <td class="xl64">
</td> <td class="xl65">
</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">4</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">Tuesday</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl63" style="height: 15pt;" height="20">8</td> <td class="xl64">
</td> <td class="xl65">
</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">7</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">Tuesday</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl63" style="height: 15pt;" height="20">9</td> <td class="xl64">
</td> <td class="xl65">
</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">7</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">Tuesday</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl63" style="height: 15pt;" height="20">10</td> <td class="xl64">
</td> <td class="xl65">
</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">7</td> <td class="xl63">
</td> <td class="xl63">
</td> <td class="xl63">Tuesday</td> </tr> </tbody></table>
WKBK1 (output)
<table border="0" cellpadding="0" cellspacing="0" width="777"><col style="width: 48pt;" width="64"> <col style="width: 55pt;" width="73"> <col style="width: 48pt;" width="64" span="10"> <tbody><tr style="height: 15pt;" height="20"> <td class="xl65" style="height: 15pt; width: 48pt;" width="64" height="20">A</td> <td class="xl65" style="width: 55pt;" width="73">B</td> <td class="xl65" style="width: 48pt;" width="64">C</td> <td class="xl65" style="width: 48pt;" width="64">D</td> <td class="xl65" style="width: 48pt;" width="64">E</td> <td class="xl65" style="width: 48pt;" width="64">F</td> <td class="xl65" style="width: 48pt;" width="64">G</td> <td class="xl65" style="width: 48pt;" width="64">H</td> <td class="xl65" style="width: 48pt;" width="64">I</td> <td class="xl65" style="width: 48pt;" width="64">J</td> <td class="xl65" style="width: 48pt;" width="64">K</td> <td class="xl65" style="width: 48pt;" width="64">L</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl65" style="height: 15pt;" height="20">2</td> <td class="xl66">
</td> <td class="xl67">
</td> <td class="xl65">
</td> <td class="xl65">
</td> <td class="xl65">
</td> <td class="xl65">
</td> <td class="xl65">
</td> <td class="xl65">3</td> <td class="xl65">
</td> <td class="xl65">
</td> <td class="xl65">Tuesday</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl65" style="height: 15pt;" height="20">3</td> <td class="xl66">
</td> <td class="xl67">
</td> <td class="xl65">
</td> <td class="xl65">
</td> <td class="xl65">
</td> <td class="xl65">
</td> <td class="xl65">
</td> <td class="xl65">3</td> <td class="xl65">
</td> <td class="xl65">
</td> <td class="xl65">Tuesday</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl65" style="height: 15pt;" height="20">4</td> <td class="xl66">
</td> <td class="xl67">
</td> <td class="xl65">
</td> <td class="xl65">
</td> <td class="xl65">
</td> <td class="xl65">
</td> <td class="xl65">
</td> <td class="xl65">4</td> <td class="xl65">
</td> <td class="xl65">
</td> <td class="xl65">Tuesday</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl65" style="height: 15pt;" height="20">5</td> <td class="xl66">
</td> <td class="xl67">
</td> <td class="xl65">
</td> <td class="xl65">
</td> <td class="xl65">
</td> <td class="xl65">
</td> <td class="xl65">
</td> <td class="xl65">4</td> <td class="xl65">
</td> <td class="xl65">
</td> <td class="xl65">Tuesday</td> </tr> </tbody></table>