How to Enter Python Mode in Excel

Version: Microsoft 365
Last update:
Tip: Use ⬆️ ⬇️ to turn the page up and down. We recommend browsing with a large screen for a better reading experience.

1. Enter from menu

Goto the Formulas tab, you will see a Python section. Click Insert Python and choose Custom Python Formular
Enter from menuEnter from menu

2. Enter from menu

The box of Formular bar will change into a Python box
Enter from menu

3. Type: =py

Typing in =py in cell
Type: $$_=py_$$

4. Type: =py

You will see a Python box at the cell
Type: $$_=py_$$
Enter from menuEnter from menu