I urgently need help with VBA about moving average

furkankonyar

New Member
Joined
Dec 22, 2016
Messages
2
Hello guys,

I just joined this forum so i don't know about your posting rules and i don't have so much time so i don't have time for reading forum rules and i searched the internet that this was the most helpful site about excel and VBA so i registered.

So let me ask you my problem and i appreciate all your helps guys :)

So i have a homework i need to give in like 15 hours. I need to write the code that gets input from the user and use that input number amoubt for moving average like if '5' is written in the input box code that i write uses 5 as range but i don't know how to do that. I'm just a 2nd class Industrial Engineer so i didn't even know about moving averages before my homework. I don't really know VBA too.

I ask for your help guys and appreciate every inch of your help. I maybe didn't explain my problem really well tell me if i couldn't :)
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.

Forum statistics

Threads
1,224,552
Messages
6,179,482
Members
452,916
Latest member
MrsMSalt

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