.. SPDX-License-Identifier: BSD-2-Clause
   Copyright 2013-2023, John McNamara, jmcnamara@cpan.org

.. _ex_cond_format:

Example: Conditional Formatting
===============================

Example of how to add conditional formatting to an XlsxWriter file.
Conditional formatting allows you to apply a format to a cell or a
range of cells based on certain criteria.

.. image:: _images/conditional_format1.png

.. literalinclude:: ../../../examples/conditional_format.py
