How to Compare a Choice Column with a Date Month in Microsoft Lists
Question details
The user needs to create a calculated column in Microsoft Lists that compares a numeric value from a Choice column with the month extracted from a Date column.
- Product
- Microsoft Lists
- Device & OS
- not provided
- Scenario
- Setting up custom data validation or conditional data views by checking if a selected numeric choice matches the month of a specified date entry.
- Observed behavior
- Requires a calculated formula that ensures both columns are not blank, converts the Choice text to a number, and checks if it matches the Date's extracted month.
Verify the exact internal names of your 'Choice' and 'Date' columns, as the calculated formula requires precise column references to function properly without syntax errors.
Use a Calculated Column Formula to Compare Values
Implement an IF statement combined with VALUE and MONTH functions to evaluate the data and return the matched month or a 'False' string.
In Microsoft Lists, values from a Choice column are treated as text by default. To compare them mathematically with a date's month, you must wrap the Choice column in a VALUE() function.
Navigate to your Microsoft List, click on 'Add column', and select 'More...'. Choose 'Calculated (calculation based on other columns)' as the column type.
In the formula box, enter the following exact formula: =IF(AND(NOT(ISBLANK([Choice])),NOT(ISBLANK([Date])),VALUE([Choice])=MONTH([Date])),MONTH([Date]),"False"). Be sure to replace [Choice] and [Date] with the actual names of your columns.
Under 'The data type returned from this formula is', select 'Single line of text'. Click 'OK' to save your new calculated column.
Manage Your Data Effortlessly with WPS Office
While Microsoft Lists is great for specialized tracking, WPS Spreadsheet offers robust, lightweight, and completely free data management. It fully supports Excel-style formulas—including IF, VALUE, and MONTH—allowing you to easily track, validate, and compare data on any device without a subscription.
- 1. Download and Install WPS Office: Visit the official WPS website, download the free version, and install it on your device.
- 2. Open WPS Spreadsheet: Launch WPS Office and click on 'Spreadsheet' to create a new blank workbook or open an existing list.
- 3. Apply Formulas: Use the exact same formulas you would use in Excel or Microsoft Lists (like IF and MONTH) to track and calculate your data seamlessly.

Frequently Asked Questions
Why do I get a syntax error when saving my calculated column formula?
Syntax errors commonly occur if the column names are misspelled, if you forgot the square brackets around the column names (e.g., [Date]), or if you used the wrong list separator. Depending on your regional settings, you might need to use a semicolon (;) instead of a comma (,) to separate formula arguments.
Why must I use the VALUE function on a Choice column?
By default, Microsoft Lists Choice columns store values as text strings, even if they consist only of numbers. The VALUE() function converts this text into a numeric format so it can be accurately compared to the numeric output of the MONTH() function.
Can I make this formula return a Yes/No boolean instead of text?
Yes. If you prefer a true boolean output, change the column's return type to 'Yes/No' and update the formula to simply: =AND(NOT(ISBLANK([Choice])), NOT(ISBLANK([Date])), VALUE([Choice])=MONTH([Date])).




