Office Settings & Configuration

How to Set Excel Find to Search by Columns Instead of Rows

Rana GarciaRana Garcia Nov 10, 2026 869 views

Question details

The user wants to configure Excel's Find feature to search through data by columns instead of rows.

How to Set Excel Find to Search by Columns Instead of Rows
Product
Microsoft Excel (Microsoft 365)
Device & OS
not provided
Scenario
Searching for specific data in large worksheets.
Observed behavior
The user wants to change the default row-by-row search behavior to a column-by-column search to better suit their data layout.
Before you start

Open your worksheet and identify the data range you need to search. Pressing Ctrl + F will quickly bring up the Find dialog where these settings can be adjusted.

Solution 1Recommended

Change the Search Direction in Find and Replace

Adjust the advanced options in the Find and Replace dialog to search by columns.

By default, Excel searches row by row (left to right, then down). Changing this to search by columns means Excel will search top to bottom in the first column, then move to the next column.

Note that while Excel will remember this setting during your current session, it may revert to searching by rows when you restart the application.

1
Open Find and Replace

Press Ctrl + F on your keyboard or go to the Home tab and click on Find & Select > Find.

2
Expand Options

Click the 'Options >>' button in the Find dialog box to reveal advanced search settings.

3
Set Search to Columns

Locate the 'Search:' dropdown menu and change the selection from 'By Rows' to 'By Columns'.

4
Execute Search

Enter your search term in the 'Find what' box and click 'Find Next' to begin searching downwards through the columns.

Change the Search Direction in Find and Replace
Session Memory: Excel typically retains the 'Search by Columns' setting as long as the application remains open. You will need to reset it if you completely close and reopen Excel.
Efficient Data Searching with WPS Spreadsheet

Use WPS Office to Search by Columns in Spreadsheets

WPS Spreadsheet offers a highly compatible and user-friendly interface for managing large datasets. You can easily customize your search direction to scan by columns, just like in Microsoft Excel, but within a lightweight and free office suite.

  1. 1. Open your file in WPS Spreadsheet: Launch WPS Office and open your existing Excel workbook.
  2. 2. Access Find and Replace: Press Ctrl + F to open the Find and Replace dialog box.
  3. 3. Show Advanced Options: Click on the 'Options' button to expand the search settings.
  4. 4. Change Search Direction: In the 'Search' dropdown, select 'By columns' and proceed with your search.
Fully compatible with Microsoft Excel (.xlsx, .xls) formats.Easily switch search direction between rows and columns.Lightweight application that opens large datasets quickly.Free to use with a familiar tabbed interface.
microsoft office alternative - wps office

Frequently Asked Questions

Can I make 'Search by Columns' the permanent default in Excel?

No, Excel does not have a built-in setting to permanently change the default search direction to columns across all new sessions. You must manually change it in the Options menu each time you restart Excel.

What is the difference between searching by rows and searching by columns?

Searching by rows scans data horizontally from left to right across row 1, then moves to row 2. Searching by columns scans vertically from top to bottom down column A, then moves to column B.

Does this setting apply to the 'Replace' function as well?

Yes, the search direction setting applies to both the 'Find' and 'Replace' tabs within the Find and Replace dialog box.

Why is the 'Options' button missing in my Find dialog?

The 'Options' button is always there, but it acts as a toggle. If you only see a basic search box, click the 'Options >>' button to expand the menu and reveal the 'Search by Columns' dropdown.