Make an Excel HLOOKUP Range Move Across Columns When Filling Down
Question details
Create an HLOOKUP formula that advances the Bank sheet lookup range across columns when filled down.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- The user wants to fill a formula downward while its lookup range moves from Bank!D1:D68 to Bank!E1:E68, Bank!F1:F68, and subsequent columns.
- Observed behavior
- Dragging the existing HLOOKUP formula down moves its lookup range vertically instead of across columns.
Check that the source sheet is named Bank and that the lookup values are in row 1, with the values to return in row 68. The example starts in B2 and uses the lookup value in A2.
Use OFFSET and ROW to Shift the HLOOKUP Range Across Columns
Use this formula when filling down from B2 should move the source range one column to the right per row.
OFFSET starts with Bank!D1:D68. ROW()-2 produces a column offset of 0 in row 2, 1 in row 3, and so on. Each resulting range is one column wide, so HLOOKUP checks that column's row 1 value and returns its row 68 value when it finds an exact match.
Select cell B2 and enter =HLOOKUP(A2,OFFSET(Bank!$D$1:$D$68,0,ROW()-2),68,FALSE).
Drag the fill handle at the bottom-right corner of B2 down the column. The source range advances from Bank!D1:D68 to Bank!E1:E68 and then Bank!F1:F68.
Click the filled cells and inspect the formula bar. A2 changes to A3, A4, and so on; use $A$2 instead if every formula should look up the same cell.

Fill an HLOOKUP Formula Across Source Columns in WPS Spreadsheets
Use HLOOKUP with OFFSET and ROW in WPS Spreadsheets to advance the Bank sheet range across columns while filling your formula down.
- 1. Open the workbook: Open WPS Spreadsheets and choose Open to select the workbook containing the Bank sheet.
- 2. Enter the formula: Select B2 on the destination sheet and enter =HLOOKUP(A2,OFFSET(Bank!$D$1:$D$68,0,ROW()-2),68,FALSE).
- 3. Fill the formula down: Drag the fill handle from B2 down through the rows where you need results.
- 4. Verify and save: Check the results against row 68 of the Bank sheet, then choose File > Save to save the workbook.

Frequently Asked Questions
Why does the formula use ROW()-2?
The formula starts in row 2, so ROW()-2 is 0 in B2 and 1 in B3. Those values make OFFSET start at column D and move to column E on the next row. Adjust the subtraction if you start in a different row.
Why does my HLOOKUP return zero?
Check the row 68 cell in the source column selected by the formula. A blank return cell can appear as zero. Also check whether the source cell actually contains a zero or a formula that returns zero.
Why am I getting an #N/A error?
With FALSE as the final argument, HLOOKUP requires an exact match. Compare the lookup value in column A with row 1 of the Bank column selected for that result, and check for differences such as text versus numbers.
How do I keep the lookup value fixed when filling down?
Change A2 to $A$2 in the formula before dragging the fill handle. The source range will still advance across Bank columns, but every row will use the value in A2.




