ID: Q156814
The information in this article applies to:
When you use Microsoft Query 97 to return data, and you select "Fill down formulas in columns adjacent to data", formulas may not be filled down, or the formulas may return a #REF! error.
This behavior occurs when the formulas are to the left of the data that is returned by Microsoft Query. "Fill down formulas in columns adjacent to data" is designed to only fill down formulas that are to the right of the data that is returned by Microsoft Query.
In Microsoft Excel 97, you can specify options for the data range that is returned from Microsoft Query. For example, you can select "Fill down formulas in columns adjacent to data."
To select "Fill down formulas in columns adjacent to data," use the following steps:
1. Select a cell in the data range.
2. Point to Get External Data on the Data menu, and click Data Range
Properties.
3. Select the "Fill down formulas in columns adjacent to data" check box,
and click OK.
When you select "Fill down formulas in columns adjacent to data," and you refresh or modify the data range, and the range contains additional rows, the formulas in columns to the right of the data range are copied to the new rows. If the data range contains fewer rows, the formulas in columns to the right of the unused rows are removed.
When you select "Fill down formulas in columns adjacent to data," and you refresh or modify the data range, and the range contains additional rows, the formulas in columns to the left of the data range are not copied to the new rows. If the data range contains fewer rows, the formulas in columns to the left of the unused rows return a #REF! error. This behavior occurs because "Fill down formulas in columns adjacent to data" is not designed to fill formulas in columns to the left of the data range.
For more information about controlling how the data in an external data range appears, click the Index tab in Microsoft Excel Help, type the following text
external data ranges, formatting
and then double-click the selected text to go to the "Control the
formatting and layout of an external data range" topic.
Additional query words: OFF97 8.0 8.00 query97
Keywords : kbtool xlquery xlformula
Version : WINDOWS:97
Platform : WINDOWS
Last Reviewed: November 5, 1998