How to Set Excel Find to Search by Columns Instead of Rows
Question details
The user wants to configure Excel's Find feature to search through data 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.
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.
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.
Press Ctrl + F on your keyboard or go to the Home tab and click on Find & Select > Find.
Click the 'Options >>' button in the Find dialog box to reveal advanced search settings.
Locate the 'Search:' dropdown menu and change the selection from 'By Rows' to 'By Columns'.
Enter your search term in the 'Find what' box and click 'Find Next' to begin searching downwards through the columns.

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. Open your file in WPS Spreadsheet: Launch WPS Office and open your existing Excel workbook.
- 2. Access Find and Replace: Press Ctrl + F to open the Find and Replace dialog box.
- 3. Show Advanced Options: Click on the 'Options' button to expand the search settings.
- 4. Change Search Direction: In the 'Search' dropdown, select 'By columns' and proceed with your search.

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.




