Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8571155
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T18:43:16+00:00 2026-06-11T18:43:16+00:00

I have huge excel data performance for sensors. The data include time series! and

  • 0

I have huge excel data performance for sensors. The data include time series! and its record every 5 second. In general, i have 17281 rows of data which is a record for only one day.
i need to visualize the data but its too sharp with every 5 second record, so i want to scale the time series to from every 5 second to every 5 minutes!

I tried to do that by deleting the extra rows…

every 5 minutes = 60 "5 second"

so i need to delete 60 row and keep the 61th, then delete the next 60 and keep the 121th and so on…

i tried to use VB code method but i couldn’t do it!!!

Please anyone can help 🙁

Here’s my recorded macro, when i tried to do the first few rows… i hope it can give some clear image of the problem…


Sub MacroDeleteTest1()
'
' MacroDeleteTest1 Macro
'

'
    Rows("2:2").Select
    ActiveWindow.SmallScroll Down:=31
    Rows("2:60").Select
    Selection.Delete Shift:=xlUp
    Rows("3:3").Select
    ActiveWindow.SmallScroll Down:=34
    Rows("3:61").Select
    Selection.Delete Shift:=xlUp
    Rows("4:4").Select
    ActiveWindow.SmallScroll Down:=33
    Rows("4:62").Select
    Selection.Delete Shift:=xlUp
    Rows("5:5").Select
    ActiveWindow.SmallScroll Down:=35
    Rows("5:63").Select
    Selection.Delete Shift:=xlUp
    Rows("6:6").Select
    ActiveWindow.SmallScroll Down:=34
    Rows("6:64").Select
    Selection.Delete Shift:=xlUp
    Rows("7:7").Select
End Sub

Thank you…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T18:43:17+00:00Added an answer on June 11, 2026 at 6:43 pm

    Something like this. Set range rStart to be the first cell of your data to begin with.

    Sub delete60()
    
    Dim rStart As Range
    Const cCOLF As Long = 5    ' Offset across of column F
    
        Set rStart = Sheet1.Range("A1")
    
        Do While rStart.Offset(1, 0).Value <> ""
            With Range(rStart.Offset(1, cCOLF), rStart.Offset(59, cCOLF))
                rStart.Offset(0, cCOLF).Value = Evaluate("SUM(" & .Address & ")")
                .EntireRow.Delete
            End With
            Set rStart = rStart.Offset(1, 0)
        Loop
    
    End Sub
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an excel sheet which has some huge data. Data is organized as
I have huge set of data in an excel file in the following format
I have a huge IQueryable that I want to export directly to Excel for
I have huge amount of data from database, i need to get or store
I have huge data which is static. I need to save it within the
I have huge amont of geographic data represented in simple object structure consisting only
I have a huge XML document 200MB in size containing textual information. The data
VBA is not cutting it for me anymore. I have lots of huge Excel
I have a huge excel workbook that I've been developing to do some cost
I have huge data in a directory tree format like: c:/user/name/class/std/section I to VI

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.