Contents of row deleted based on a zero value

marcidee

Board Regular
Joined
May 23, 2016
Messages
196
Office Version
  1. 2019
Please can someone help me with a script - I have a table 11 columns (D to N) and 7 Rows (Rows 7 to 13) - I would like the contents of each row removed if the value in G = 00:00


[TABLE="width: 754"]
<tbody>[TR]
[TD]Days Worked[/TD]
[TD]Start time[/TD]
[TD]Finish Time[/TD]
[TD]Time Worked[/TD]
[TD][/TD]
[TD]Breaks Yes/No[/TD]
[TD]Breaks From[/TD]
[TD]Breaks To[/TD]
[TD]Total Breaks[/TD]
[TD][/TD]
[TD]Total Time Worked[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Mon 22 July 19[/TD]
[TD]10:00[/TD]
[TD]14:15[/TD]
[TD]04:15[/TD]
[TD][/TD]
[TD]No[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]00:00[/TD]
[TD][/TD]
[TD]04:15[/TD]
[/TR]
[TR]
[TD]Sat 00 January 00[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]00:00[/TD]
[TD][/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]00:00[/TD]
[TD][/TD]
[TD]00:00[/TD]
[/TR]
[TR]
[TD]Sat 00 January 00[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]00:00[/TD]
[TD][/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]00:00[/TD]
[TD][/TD]
[TD]00:00[/TD]
[/TR]
[TR]
[TD]Thu 25 July 19[/TD]
[TD]10:00[/TD]
[TD]18:00[/TD]
[TD]08:00[/TD]
[TD][/TD]
[TD]Yes[/TD]
[TD]12:00[/TD]
[TD]12:30[/TD]
[TD]00:30[/TD]
[TD][/TD]
[TD]07:30[/TD]
[/TR]
[TR]
[TD]Sat 00 January 00[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]00:00[/TD]
[TD][/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]00:00[/TD]
[TD][/TD]
[TD]00:00[/TD]
[/TR]
[TR]
[TD]Sat 27 July 19[/TD]
[TD]10:00[/TD]
[TD]18:00[/TD]
[TD]08:00[/TD]
[TD][/TD]
[TD]Yes[/TD]
[TD]12:00[/TD]
[TD]12:30[/TD]
[TD]00:30[/TD]
[TD][/TD]
[TD]07:30[/TD]
[/TR]
[TR]
[TD]Sun 28 July 19[/TD]
[TD]08:30[/TD]
[TD]20:30[/TD]
[TD]12:00[/TD]
[TD][/TD]
[TD]Yes[/TD]
[TD]12:00[/TD]
[TD]13:30[/TD]
[TD]01:30[/TD]
[TD][/TD]
[TD]10:30[/TD]
[/TR]
</tbody>[/TABLE]
 

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"
To summarise for example if G7 = 00:00 then D7 to N7 is empty (or if it's easier it could be if N7 = 00:00)

Still looking for help with this if possible
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,176
Members
453,021
Latest member
Justyna P

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