Function used multiple time with VBA

promise899

New Member
Joined
Feb 18, 2022
Messages
9
Office Version
  1. 2016
Platform
  1. Windows
Hi All,


I want to do fourier transform in excel. Data analysis - fourier analysis can be selected from the menu option, and the operation can be performed. Excel performs the fourier transform for multiples of 2 data starting from 2^1 to 2^12 (2,4,8....4096). I have 600000 data for Vx and 600000 for Vy. Since Excel allows for a maximum of 4096 data, I need to do a minimum of 600000 / 4096 = 146 times for Vx. Same for Vy. Can this be done with VBA without doing it manually?
As a summary, I made the fourier transform between B2:B4097 once in the excel . From here on, I want it to transform 145 times in the same way. Also for column D. If possible, go all the way to the end of the data. Thank you.

Note. I tried to upload my excel file but size of it exceed (4.2 mb). So it can be downloaded from this web link

 
Last edited:

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,215,046
Messages
6,122,852
Members
449,096
Latest member
Erald

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