Function Problems

Create a List of Marked Drawing Numbers in Excel

Nimra MalikNimra Malik Nov 18, 2026 869 views

Question details

Create a list of drawing numbers from column H for rows marked with x in column M, excluding blank drawing numbers.

Create a List of Marked Drawing Numbers in Excel
Product
Microsoft Excel
Device & OS
not provided
Scenario
Drawing numbers are stored in H8:H14, and the corresponding selection marks are in M8:M14.
Observed behavior
The desired list contains only nonblank drawing numbers whose corresponding rows are marked with x.
Before you start

Check that the drawing numbers and marks are on the same rows and that both ranges cover the same number of cells. Choose an empty output cell with space below it for the results.

Solution 1Recommended

Use FILTER to list marked, nonblank drawing numbers

Use this dynamic formula in an Excel version that supports FILTER; the list updates when the source cells change.

1
Select an output cell

Click an empty cell where the list should begin, such as O8.

2
Enter the formula

Type =FILTER(H8:H14,(M8:M14="x")*(H8:H14<>""),"") and press Enter.

3
Check the results

Review the spilled list below the formula cell. Change the range endpoints in the formula if your data extends beyond row 14.

Use FILTER to list marked, nonblank drawing numbers
No matches or blocked results: The final empty-string argument displays a blank when no rows match. If Excel shows a #SPILL! error, clear the cells blocking the output range.
Work with spreadsheets in WPS Office

List marked drawing numbers in WPS Spreadsheets

Use filters in WPS Spreadsheets to show rows marked with x and exclude blank drawing numbers, then copy the visible numbers into a list.

  1. 1. Open the spreadsheet: Open your Excel file in WPS Spreadsheets and select the data range, including its header row.
  2. 2. Turn on filtering: Select Data > Filter to add filter arrows to the header row.
  3. 3. Filter the two columns: Open the column M filter and select x. Open the column H filter and deselect the blank option.
  4. 4. Copy the drawing numbers: Select the visible drawing numbers in column H, copy them, and paste them into an empty location.
Filter marked rows and omit blank drawing numbersOpen and edit Microsoft Excel XLS and XLSX filesUse a familiar spreadsheet interfaceWork with spreadsheets in a free office suite
microsoft office alternative - wps office

Frequently Asked Questions

Why does the FILTER formula check both columns?

The condition M8:M14="x" selects marked rows, while H8:H14<>"" excludes rows with blank drawing numbers. Multiplying the conditions requires both to be true.

What happens when no rows are marked with x?

The formula's final argument, "", returns an empty result when no rows match.

Why does my formula show #SPILL!?

The FILTER result needs empty cells below the formula. Clear any entries blocking the intended spill range and check the formula again.

Can I use FILTER in an older version of Excel?

FILTER is available in newer versions, including Excel for Microsoft 365 and Excel 2021. If your version does not support it, use the INDEX and AGGREGATE formula and fill it down.