How to use AI to help with coding or spreadsheet formulas?
AI tools can write code, debug errors, create complex spreadsheet formulas, and explain what existing code does. Even non-programmers can leverage AI to automate tasks and work with data more effectively.
- Describe what you need in plain English5
You do not need to know programming syntax. Tell the AI what you want in everyday language: "Write an Excel formula that calculates the average of column B, but only for rows where column A says 'Completed'" or "Write a Python script that renames all files in a folder to lowercase."
📌 free📌 best practice3/23/2026, 2:21:40 AM
🛠️ None
- Paste error messages to get debugging help5
When your code or formula throws an error, copy the entire error message and paste it into the AI along with the relevant code. The AI will identify the issue, explain why it happened, and provide the corrected version.
📌 free📌 best practice3/23/2026, 2:21:45 AM
🛠️ None
- Use GitHub Copilot for in-editor code assistance5
GitHub Copilot integrates directly into VS Code, JetBrains, and other editors. It suggests code completions as you type, generates entire functions from comments, and can explain or refactor existing code. It understands context from your entire project.
📌 commercial3/23/2026, 2:21:50 AM
🛠️ VS Code or JetBrains IDE, GitHub account
- Ask AI to build Google Sheets or Excel automations4
For spreadsheet power users, ask the AI to create macros, Apps Script functions, or VBA code. For example: "Write a Google Apps Script that sends an email when a cell in column D changes to 'Overdue'" or "Create a VBA macro that formats all headers as bold blue text."
📌 free📌 diy3/23/2026, 2:21:55 AM
🛠️ Google Sheets or Microsoft Excel
- Use Claude or ChatGPT to learn coding step by step4
If you want to learn coding rather than just get code written for you, ask the AI to teach you by building a project together. Start with: "Teach me Python by building a simple to-do list app. Explain each line of code as we go. Start from the very beginning."
📌 free📌 diy3/23/2026, 2:22:00 AM
🛠️ Computer with a text editor or IDE