Add Check and Checkmate Indicators to an Excel Chess Viewer
Question details
Add visible check and checkmate notifications to an Excel chess games viewer that already highlights move squares.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- A user is viewing recorded chess games and wants a notification alongside the existing move highlights.
- Observed behavior
- The viewer highlights the squares pieces move from and to; the desired enhancement is a separate check or checkmate indicator.
Identify the cell that contains the current move notation and confirm how the workbook marks check and checkmate. Also choose an empty cell for the indicator so it does not overwrite the board or move sequence.
Add a Formula and Color Rules for Chess Notifications
Use this method when the current move notation ends in + for check or # for checkmate.
The formula reads the move notation; it does not analyze the chessboard. If your workbook uses different notation or adds annotations after the symbol, adapt the formula to match its data.
Select an empty cell near the move sequence and enter =IF(RIGHT(TRIM(B7),1)="#","CHECKMATE",IF(RIGHT(TRIM(B7),1)="+","CHECK","")), replacing B7 with the cell containing the current move.
With the indicator cell selected, open Home > Conditional Formatting > Highlight Cells Rules > Equal To. Enter CHECK, choose a yellow fill, and confirm the rule.
Open Home > Conditional Formatting > Highlight Cells Rules > Equal To again. Enter CHECKMATE, choose a red fill, and confirm the rule.
Use the viewer's move controls to select moves marked + and #. Check that the indicator changes appropriately and that the existing move-square highlights remain visible.

Add Chess Move Indicators in WPS Spreadsheet
Use a formula and conditional formatting in WPS Spreadsheet to display color-coded check and checkmate indicators in a compatible chess viewer workbook.
- 1. Open the workbook: Open WPS Spreadsheet and select Open to load the chess viewer workbook.
- 2. Enter the formula: Select an empty indicator cell and enter =IF(RIGHT(TRIM(B7),1)="#","CHECKMATE",IF(RIGHT(TRIM(B7),1)="+","CHECK","")), replacing B7 with the current move cell.
- 3. Apply color rules: Select the indicator cell and use Home > Conditional Formatting to create an equal-to rule for CHECK with a yellow fill and another for CHECKMATE with a red fill.
- 4. Test and save: Use the workbook's move controls to test marked moves, then select File > Save As to save the edited workbook.

Frequently Asked Questions
How does the formula recognize check and checkmate?
It checks the final character of the current move cell: + returns CHECK and # returns CHECKMATE. Replace B7 in the formula with the cell that holds your current move notation.
Will the formula detect checkmate from the board position?
No. It reads notation in a cell rather than analyzing the pieces on the board. The move data must contain a reliable checkmate marker for the indicator to work.
Why is the indicator blank when a move gives check?
Check that the formula references the current move cell and that its text ends in +. Extra annotations after the symbol or a different notation format require an adjusted formula.
Will the new colors replace the existing move highlights?
The new rules affect the indicator cell when you apply them only to that cell. In Excel, use Home > Conditional Formatting > Manage Rules to inspect the cells covered by existing rules.




