Change Column References While Keeping a Row Fixed in Excel
Question details
Fill a formula down a column so that it references successive columns in a fixed source row.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- The source totals are in row 6, and the user wants to list them vertically in column B.
- Observed behavior
- Dragging =F6 down changes the reference to F7 and F8 instead of G6 and H6.
Identify the source row and the first destination cell. In the example below, the source is F6:K6 and the destination starts at B2.
Use INDEX and ROWS to Advance Across Columns
Use this formula when you want a vertical list that updates as the values in the source row change.
INDEX returns a value from the fixed source range, while ROWS increases the column position as you fill the formula down. A reference such as F$6 fixes the row but does not make the column advance when filled downward.
Select B2 and enter =INDEX($F$6:$K$6,1,ROWS($B$2:B2)).
Drag the fill handle at the lower-right corner of B2 down through B7. The cells return F6, G6, H6, and the remaining values through K6.
For a different source or destination, replace $F$6:$K$6 with your source row and replace $B$2:B2 with a ROWS range that starts at your first destination cell.

Fill Across a Source Row in WPS Spreadsheet
Use INDEX and ROWS in WPS Spreadsheet to turn values from a horizontal source row into a linked vertical list.
- 1. Open the workbook: Open WPS Spreadsheet and use Open to select your workbook.
- 2. Enter the formula: Select B2 and enter =INDEX($F$6:$K$6,1,ROWS($B$2:B2)), adjusting the ranges for your sheet.
- 3. Fill the list: Drag the fill handle from B2 down to B7 to return the values from F6 through K6.
- 4. Save the workbook: Select Save or Save As to save your changes in an Excel-compatible XLSX file.

Frequently Asked Questions
Why doesn't F$6 move to G6 when I drag down?
F$6 fixes row 6, but filling down does not advance the column. Use =INDEX($F$6:$K$6,1,ROWS($B$2:B2)) in B2 to advance across the source columns.
How do I use the formula with a different starting cell?
Replace $B$2:B2 with a ROWS range starting at the new destination. For example, in A15 use =INDEX($A$10:$F$10,1,ROWS($A$15:A15)), then fill down.
Will the vertical list update when the source values change?
Yes. The INDEX formula references the source cells, so its results update when those cells change.
What happens if I fill the formula beyond the source range?
Once the requested column exceeds the source range, the formula returns a reference error. Extend the source range or stop filling at its last column.




