how to delete Rows in excel (row times: from~to)

alimadhi

New Member
Joined
Sep 14, 2014
Messages
8
hi , i want delete multi rows i have a lots of excels sheets recording time in Ms i want delete between Ms and keep them just every mint recorder

for example:- see blow recorder time in red mark

Timedwatt2L33TUC_FLTl33tucDFl20fa1xhftout
30/08/2014 15:4529.107860049.174840-5
30/08/2014 15:4527.94340049.195160-5
30/08/2014 15:4628.254090049.211630-5
30/08/2014 15:4628.333180049.22810-5
30/08/2014 15:4627.606960049.237310-5
30/08/2014 15:4627.644340049.25720-5
30/08/2014 15:4627.965130049.277590-5
30/08/2014 15:4627.612310049.297510-5
30/08/2014 15:4626.077970049.338370-5
30/08/2014 15:4626.069440049.366130-5
30/08/2014 15:4625.043750049.400770-5
30/08/2014 15:4623.889650049.419320-5
30/08/2014 15:4624.332560049.441310-5
30/08/2014 15:4622.607480049.457940-5
30/08/2014 15:4723.062620049.478490-5
30/08/2014 15:4723.365860049.489270-5
30/08/2014 15:4722.284310049.494170-5
30/08/2014 15:4722.88750049.508380-5
30/08/2014 15:4723.013990049.516710-5
30/08/2014 15:4721.878970049.545170-5
30/08/2014 15:4721.911440049.563340-5
30/08/2014 15:4721.886280049.573170-5
30/08/2014 15:4722.123720049.587920-5
30/08/2014 15:4722.227390049.598740-5
30/08/2014 15:4722.054950049.60810-5
30/08/2014 15:4822.242020049.619420-5
30/08/2014 15:4822.254430049.628770-5
30/08/2014 15:4822.320670049.638630-5
30/08/2014 15:4822.318770049.647990-5
30/08/2014 15:4824.259010049.650950-5
30/08/2014 15:4823.554930049.647990-5
30/08/2014 15:4823.613750049.649480-5
30/08/2014 15:4824.747180049.658350-5
30/08/2014 15:4824.829370049.667720-5
30/08/2014 15:4824.816990049.671670-5
30/08/2014 15:4826.043480049.671670-5
30/08/2014 15:4826.088070049.678080-5

<tbody>
</tbody>

to :-

Timedwatt2L33TUC_FLTl33tucDFl20fa1xhftout
30/08/2014 15:4529.107860049.174840-5
30/08/2014 15:4628.254090049.211630-5
30/08/2014 15:4723.062620049.478490-5
30/08/2014 15:4822.242020049.619420-5

<tbody>
</tbody>
 
sorry for bothering you but i apricaite your help

i got this error

Run-Time error '1004':
Application-defined or object-defined error
 
Upvote 0

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
i got this error

Run-Time error '1004':
Application-defined or object-defined error
First off, tell me which line of code did the error occur on... when you clicked the Debug button, which line was yellow?

Second, when you posted this (which is what my code assumes your data looks like)...

now i have this below data:-

6/9/2014 11:04 AM83.259090150.619581100
6/9/2014 11:05 AM83.752030150.609340100
6/9/2014 11:06 AM83.249860150.567360100

<tbody>
</tbody>
etc.
are the dates I highlighted in red in one or two columns?
 
Upvote 0
My data now fine thank you for helping and if you can give me a macro for deleting rows every 10 mint see below data every 1 mint :-

6/9/2014 11:04 AM83.259090150.619581100
6/9/2014 11:05 AM83.752030150.609340100
6/9/2014 11:06 AM83.249860150.567360100
6/9/2014 11:07 AM81.606030150.523420100
6/9/2014 11:08 AM80.892550150.500970100
6/9/2014 11:09 AM82.850080150.456630100
6/9/2014 11:10 AM83.657030150.386970100
6/9/2014 11:11 AM83.411960150.403730100
6/9/2014 11:12 AM81.491820150.408311100
6/9/2014 11:13 AM82.606770150.392050100
6/9/2014 11:14 AM82.191040150.561741100
6/9/2014 11:15 AM81.554260150.557650100
6/9/2014 11:16 AM83.802220150.56431100
6/9/2014 11:17 AM81.377140150.577590100
6/9/2014 11:18 AM82.508620150.557650100
6/9/2014 11:19 AM81.11020150.529040100
6/9/2014 11:20 AM83.649430150.537720100
6/9/2014 11:21 AM83.550890150.52240100
6/9/2014 11:22 AM82.443080150.515250100
6/9/2014 11:23 AM80.981230150.512190100
6/9/2014 11:24 AM82.012050150.494340100
6/9/2014 11:25 AM81.751570150.485670100
6/9/2014 11:26 AM82.402680150.445940100
6/9/2014 11:27 AM81.549650150.424060100
6/9/2014 11:28 AM81.644930150.396110100
6/9/2014 11:29 AM80.736340150.329150100
6/9/2014 11:30 AM79.997910150.301810100

<tbody>
</tbody>

I want to delete rows between (10 mint and 20 mint), (20 mint and 30 mint), ...etc to be like below :-

<tbody>
</tbody>


Timedwatt2L33TUC_FLTl33tucDFl20fa1xhftout
6/9/2014 11:10 AM83.657030150.386970100
6/9/2014 11:20 AM83.649430150.537720100
6/9/2014 11:30 AM79.997910150.301810100

<tbody>
</tbody>
 
Upvote 0
My data now fine thank you for helping and if you can give me a macro for deleting rows every 10 mint see below data every 1 mint :-

I did that in Message #10, but you said it did not work, so I asked you two questions in Message #12 but you have not answered them yet.
 
Upvote 0

Forum statistics

Threads
1,214,992
Messages
6,122,631
Members
449,095
Latest member
bsb1122

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