HOW-TO 060 · Microsoft Excel and Google Sheets Basics

How to write IF formulas in Excel

A tracker needs automatic status labels from rules. You can begin with rough information and develop it through a short AI conversation.

Before you start

FILE OPTIONAL: your Excel sheet. If you have it, select + or the paperclip, choose Upload file and wait until its name appears. Otherwise start a new chat and describe what you need. Never upload confidential material to an unapproved tool.

YOUR READY-TO-USE PROMPT

Copy this into your AI tool

Please help me write IF formulas in Excel. I am a beginner, so explain unfamiliar terms in plain English. Do not give me a long list of questions. Ask one clear question, then wait for me. Find out the condition, the true result, the false result, and the cell references. If there is a file, first confirm you can read it and ask for any missing information. When you have enough details, complete the task this way: Write an Excel IF formula for the condition we discuss using the cell references we discuss. Return the true result we discuss when the rule is met and the false result we discuss otherwise. Explain how it handles blanks and show a simple IFS version for three outcomes. Use a small fictional example. Use only what I provide or sources you can actually verify. Do not make up facts, figures, names or approvals. If you cannot create the requested file or perform a tool action, tell me exactly how to complete that part myself. Once done, explain the next step I should take with the result. If you can make the .xlsx file, provide it; otherwise show exact Excel cell references and formulas I can copy.
Paste it into an AI application and answer its questions.
Example, follow-up prompt and final checks

Example conversation

AI might ask: What should I know about condition?

You might reply: I can describe it here.

Example result

=IF(D2>0,"Overdue","On time").

Improve your result

If an .xlsx file is available, download it and open it in Excel. Otherwise follow the cell-by-cell instructions.

Add a separate result for missing information.

Before you use it

Test the formula at each boundary value.