Error Using Returned Values as Input with Fourier Analysis (114182)
The information in this article applies to:
- Microsoft Excel for Windows 5.0c
This article was previously published under Q114182 SYMPTOMS
In Microsoft Excel, when you use the Fourier Analysis tool, provided
in the Analysis ToolPak add-in, to transform data in a worksheet, and
you then use the Fourier Analysis tool again and you use values previously
returned by this function as the new input range values, you receive
the following error message:
Fourier Analysis - All complex numbers must have the same suffix, either
"i" or "j".
This behavior does not occur in Microsoft Excel version 4.0.
CAUSE
This behavior occurs because any non-imaginary number that is
returned by the Fourier Analysis tool is formatted as a text value
instead of number value. Because the Input Range value used in the
Fourier Analysis tool must be formatted as a number, the error
message appears when you use this returned value as an input value in
the Fourier Analysis tool.
WORKAROUND
To avoid receiving this error message, do either of the following before
using the Fourier Analysis tool using an input data range that has been
returned by the Fourier Analysis tool:
Microsoft provides examples of Visual Basic for Applications procedures for
illustration only, without warranty either expressed or implied, including,
but not limited to the implied warranties of merchantability and/or fitness
for a particular purpose. The Visual Basic procedures in this article are
provided 'as is' and Microsoft does not guarantee that they can be used in
all situations. While Microsoft Support professionals can help explain the
functionality of a particular macro, they will not modify these examples to
provide added functionality, nor will they help you construct macros to
meet your specific needs. If you have limited programming experience, you
may want to consult one of the Microsoft Solution Providers. Solution
Providers offer a wide range of fee-based services, including creating
custom macros. For more information about Microsoft Solution Providers,
call Microsoft Customer Information Service at (800) 426-9400.
REFERENCES
For more information about Fourier Analysis, choose the Search button
in Help and type:
Modification Type: | Minor | Last Reviewed: | 8/15/2003 |
---|
Keywords: | KB114182 |
---|
|