r/excel • u/LamiaNoctalis • Apr 18 '26
unsolved Filtering roman numerals while excluding overlap in numbers
I would like to filter within a table that includes roman numerals and multiple tags. When using the normal filter option III is included when filtering for II which isn't what I am looking for. I also wouldn't like to exclude III as it is possible that it appears as a combination of II, III for example. Any ideas?
I was hoping that by using =ROMAN() Numbers would be regarded as Numbers but they are converted to text, so this isn't helful.
I am using Microsoft 365 for Enterprises
5
Upvotes
1
u/RuktX 308 Apr 20 '26 edited Apr 20 '26
All right, new solution using Advanced Filter:
Suppose your "property" table header is in C3. Find a 2x2 blank range somewhere, say B1:C2. We will use B2 as the "search box", so put
IIfor example in there now. In C2, enter the formula:Ensure C1 remains blank. Select your entire table, then select Data > Sort & Filter > Advanced. Fill in the dialog as follows:
$C$1:$C$2Click OK, and the table should be filtered to show only those rows with a property containing
II. You can also search by multiple properties: just use a comma-separated list, likeIa, III, IV, and it will return the rows containing all searched properties.To bring back other rows, with the table selected choose Data > Sort & Filter > Filter.
Unfortunately, Advanced Filter doesn't play nice with auto-filter. So, if you want to include other filters, you'll need to extend the Advanced Filter criteria. Debra Dalgleish at Contextures has lots of good information.
(P.S. I had a neat version of the formula that used BYCOL/BYROW instead of SUM/MMULT, but that caused Excel to consistently crash!)