Discrete / Fast Fourier Transform and Inverse FFT with Excel VBA Excel has a built in FFT function but is limited to max. 4096 samples. This simple code has no sample limits and can do DFT, FFT, and IFFT.