I Need to get Average data of 5 minutes of Live RTD Data

athul

New Member
Joined
Aug 21, 2021
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Hi Dear ,

I Need to get Average data for 5 minutes from Live RTD Data , Could Someone please help me
I mean 5 min data = 300 seconds
So average of 300 seconds data
my live Data is on Column B1:B401
I need to get average Data to Next Column .
I have tried one code but its working only copy 1s but i dont know how to copy the data for 300 s times and calculate the average

please help me

Thanks
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
Option Explicit

Sub find5minsma1s()

'Author AN
'Part of SM Project

Range("B2:B401").Select
Selection.Copy
Range("I2:I401").Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Application.OnTime Now() + TimeValue("00:00:01"), "find5minsma"
Application.ScreenUpdating = False

End Sub
 
Upvote 0

Forum statistics

Threads
1,214,971
Messages
6,122,525
Members
449,088
Latest member
RandomExceller01

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