如何在 Excel 中進入 Python 模式

版本: Microsoft 365
最後更新:
提示:使用 ⬆️ ⬇️ 可上下翻頁。推薦用大屏瀏覽,以獲得更好的閱讀體驗。

1. 從菜單進入

打開 Formulas 標簽, 你可以看到 Python 模塊. 點擊 Insert Python 然後選擇 Custom Python Formular
從菜單進入從菜單進入

2. 從菜單進入

公式輸入框會變成一個 Python 的輸入框
從菜單進入

3. 輸入: =py

在單元格中輸入 =py
輸入: $$_=py_$$

4. 輸入: =py

你可以在單元格中,看到 Python 的輸入框
輸入: $$_=py_$$
從菜單進入從菜單進入