あけましておめでとうございます。筒井 (@ryu22e) です。今月の 「Python Monthly Topics」 は、ExcelブックのセルにPythonコードを埋め込めるPython in Excelを実際に使う上で便利なプラクティスを紹介します。 Python in Excelは2024年10月に一般提供を開始しました[1]。
最初に、PythonとExcelで「どちらが気軽に使えるか」を比べてみよう。言うまでもなく、Excelを使う時は、スプレッドシートのセルにデータを入力し、マウスで操作を選んでいくというスタイルだ。これに対して、Pythonはエディタでプログラムを書いて実行する ...
今回は、請求書の請求データを取り出す部分を実装する。請求書テンプレートでは次のスクリーンショットのように「項目名(説明)」、「単価」、「数」にハメ込むデータを抜き出す処理だ。 請求データをどのように管理しているかは業務によるが、ここで ...
Back in late 2023, Microsoft announced Python integration in Excel. Like many, I was skeptical at first and continued to rely on VBA and built-in Excel formulas for data analyses and visualization.
Have you ever found yourself wrestling with Excel formulas, wishing for a more powerful tool to handle your data? Or maybe you’ve heard the buzz about Python in Excel and wondered if it’s truly the ...