SharePoint Document Issues

Format Maximum Date in Multi-Value SharePoint List Lookups

Elise WilliamsElise Williams Oct 26, 2026 868 views

Question details

The user needs to dynamically format a Required Start Date column in red if it is earlier than any predecessor due date retrieved from a multi-value lookup.

How to Evaluate the Maximum Date from a Multi-Value Microsoft List Lookup
Product
Microsoft Lists
Device & OS
not provided
Scenario
Applying custom column formatting to a Microsoft List where multi-value lookup dates must be individually compared against a start date.
Observed behavior
Due dates from a multi-value predecessor lookup appear as a single semicolon-delimited string, which prevents standard date comparison rules from evaluating each date accurately.
Before you start

Ensure you have Design or Edit permissions for the Microsoft List or SharePoint library so that you can access the Column settings and apply custom JSON formatting.

Solution 1Recommended

Use Column Formatting JSON with the Split Function

Apply a custom JSON schema to the list column that uses the split function to separate the delimited dates and evaluate them individually in real-time.

By utilizing the split function in SharePoint column formatting, you can iterate through the semicolon-delimited string of predecessor dates directly within the list view. This allows the formatting to apply instantly without waiting for background workflows to update the items.

1
Access column formatting

Navigate to your Microsoft List, click the column header for the 'Required Start Date', and select 'Column settings' followed by 'Format this column'.

2
Switch to advanced mode

At the bottom of the column formatting pane, click on 'Advanced mode' to enable custom JSON input.

3
Apply the split function loop

Paste your custom JSON schema. Use the 'forEach' property with the expression "choice in split(@currentField, ';')" to break the delimited string into individual date elements.

4
Add the evaluation condition

Within the loop's style configuration, add a background-color condition to compare the dates. For example: "=if(Date([$choice]) > Date([$Start Date]), '#ff0000', '')". This will apply the red highlight if the condition is met.

5
Save and verify

Click 'Save' at the bottom of the formatting pane. Refresh your list view to verify that the start dates correctly highlight in red when earlier than any evaluated predecessor date.

Use Column Formatting JSON with the Split Function
Instant Execution: JSON column formatting runs directly in the browser when the view loads, completely eliminating the propagation delays typically associated with Power Automate flows.
Free Microsoft Office alternative

Experience Seamless Document Management with WPS Office

While Microsoft SharePoint and Lists handle advanced database formatting, WPS Office provides an outstanding, lightweight alternative for your daily document, spreadsheet, and presentation needs. It empowers you to effortlessly view, edit, and collaborate on essential office files without the heavy subscription fees.

Fully compatible with Microsoft Office formats including DOCX, XLSX, and PPTXLightweight architecture ensures fast loading on all devicesComprehensive built-in suite encompassing Writer, Spreadsheet, Presentation, and advanced PDF toolsFree to use with a familiar, user-friendly interface that requires zero learning curve
microsoft office alternative - wps office

Frequently Asked Questions

Why do my multi-value lookup dates appear as a single string?

By default, Microsoft Lists and SharePoint output multi-value lookups as a single continuous string separated by semicolons in the list view. To evaluate each item individually, the string must be parsed or split.

Can I use standard conditional formatting rules for multi-value columns?

No, the standard point-and-click conditional formatting interface does not support splitting and iterating over multi-value strings. You must use 'Advanced mode' to write custom JSON schema.

Is it possible to use Power Apps instead of JSON column formatting?

Yes. If you are customizing the Microsoft List form using Power Apps, you can utilize Power Fx functions like Split() and Max() to parse the semicolon-delimited values and evaluate the lookup data directly within the customized form.