How to Mark the Highest Revision as IFC in Excel Document Logs
Question details
The user wants to automatically identify and label the latest document revision as 'IFC' and earlier ones as 'Old' based on the drawing title in a spreadsheet log.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Maintaining a document control register where multiple revisions of the same drawing exist on different rows.
- Observed behavior
- The system needs to output 'IFC' for the maximum revision number of a given drawing title and 'Old' for all preceding revisions.
Ensure your document log has clear, separate columns for 'Drawing Title' and 'Version' (or Revision Number), and verify that your spreadsheet software supports dynamic array functions if you plan to use FILTER.
Use Structured References with FILTER for Excel Tables
This approach is ideal if your data is formatted as an Excel Table, making formulas easier to read and automatically expanding with new data.
By formatting your data as a Table, you can use structured references like [@Version]. The FILTER function extracts all versions for the current row's drawing title, and MAX finds the highest among them.
Select your document log data range and press Ctrl+T to convert it into an Excel Table. Ensure your headers include 'Drawing Title' and 'Version'.
Click the first cell in your target status column and enter the formula: =IF([@Version]=MAX(FILTER([Version],[Drawing Title]=[@[Drawing Title]])),"IFC","Old")
Press Enter. The formula will automatically spill down the entire column of the table, instantly categorizing the latest revisions.

Use BYROW and LAMBDA for Regular Ranges
If you are not using an Excel Table, you can use dynamic array functions across standard cell ranges to output a single spilled result.
Track Revisions Easily with WPS Spreadsheet
WPS Spreadsheet offers comprehensive support for modern Excel formulas, including dynamic arrays like FILTER and BYROW. You can seamlessly apply these solutions to manage your document control logs efficiently.
- 1. Open WPS Spreadsheet: Launch WPS Office and open your document control log workbook.
- 2. Format Data: Highlight your data and use the 'Format as Table' option in the Home tab.
- 3. Input the Formula: Select the first cell in the Status column and paste the IF and FILTER combination formula.
- 4. Save Your Work: Press Enter to evaluate the formula, verify the 'IFC' statuses, and save your spreadsheet.

Frequently Asked Questions
Can I use MAXIFS instead of FILTER for this task?
Yes. You can use a formula like =IF([@Version]=MAXIFS([Version],[Drawing Title],[@[Drawing Title]]),"IFC","Old"). This is often highly compatible with versions of Excel that support MAXIFS but might not fully support dynamic array functions.
What should I do if my formula returns a #NAME? error?
A #NAME? error typically occurs if your version of the spreadsheet software does not support modern functions like FILTER, BYROW, or LAMBDA. Ensure your software is updated, or use the MAXIFS alternative instead.
How do I ensure the formula handles alphanumeric revision numbers like 'Rev A'?
The MAX function requires numeric values. If your revisions are alphanumeric (e.g., A, B, C), you will need to convert them to numbers using a helper column with the CODE function, or use a custom sorting logic before applying the status formula.




