Excel: Show an Input Hint on a Marks Cell
In Excel, select the cells that will hold the marks, then choose Data, Data Validation, open the Input Message tab and tick Show input message when cell is selected. Type a title and a message, then select OK. The hint then shows when one of those cells is selected. It is only a hint. It does not reject a wrong value.
Bound the task before you start
This guide is for Excel on a desktop, using the Data Validation dialog box and its Input Message tab, with your own practice workbook and a fictional sheet. It is not for a real mark sheet, a teacher template or a workbook someone else owns.
The Microsoft page lists several Excel versions, including Excel for Microsoft 365, Excel for the web and Excel 2016 to 2024. The steps used here are the ones in the Windows section of the page. This guide does not describe the macOS or web steps, and makes no claim about them. If your Excel does not show the labels below, stop and ask the owner.
This guide covers only the Input Message tab. It does not cover the Settings tab, number limits, dropdown lists, the Error Alert tab, sharing, handing work in, printing or how any work is assessed.
Microsoft says the Data Validation command might be unavailable if the sheet is protected or the workbook is shared, and that you cannot change validation settings in those cases. If you see that, stop and ask the owner.
Start with this exact sheet
Start a new blank practice workbook with no existing validation on B2:B3. If either cell already has validation, stop rather than changing or clearing it. Make a fictional score-entry sheet in that new workbook. It has two headers and two names. The score cells are empty on purpose.
Starting state: before any hint is set
| Cell | A (Name) | B (Score out of 20) |
|---|---|---|
| Row 1 | Name | Score out of 20 |
| Row 2 | Ava | (blank) |
| Row 3 | Noor | (blank) |
The input range is B2:B3. These are the only cells that get the hint. The names and headers do not.
Set only an input message
- Select B2:B3, the two blank score cells.
- On the Data tab, select Data Validation.
- Open the Input Message tab and tick Show input message when cell is selected.
- In the Title box, type Score entry.
- In the Input message box, type Enter a whole-number score from 0 to 20.
- Leave the Settings tab and the Error Alert tab as they are. Select OK.
- Select B2 and look for the hint. Then select A2 and check that the hint is gone.
The wording of the message is a promise to the person typing, not a rule. In this setup nothing in Excel yet checks that a score is a whole number or that it is from 0 to 20.
These steps follow the Microsoft page text and were not run in Excel.
Compare before and after
What to expect when you move the selection
If the comparison table is wider than your screen, scroll it sideways.
| State | Selected cell | Hint | B2 and B3 values |
|---|---|---|---|
| Before the message is set | B2 | None | Blank, blank |
| After, B2 selected | B2 | Score entry: Enter a whole-number score from 0 to 20. | Blank, blank |
| After, A2 selected | A2 | None, because A2 is outside B2:B3 | Blank, blank |
- Check that B2 and B3 are still empty. Setting a message does not enter a value in the cells.
- Check that Ava and Noor are still in A2 and A3 and that the two headers are unchanged.
- Microsoft says the message shows when the user selects or hovers over the selected cells. This guide checks selection only and does not describe where the hint box appears on screen.
A hint is not a rule
The Input Message tab only shows text. Microsoft puts data restrictions on the Settings tab and the response to an invalid entry on the Error Alert tab. Those settings are outside this guide.
This guide sets none of that. So with only the message above, typing 25 or 7.5 into B2 is not blocked by the hint. The hint tells the typist what is expected. It does not enforce it.
Number rejection and dropdown lists are outside this guide. If you need a cell to refuse a value, that is a different task, with the Settings and Error Alert tabs, and it needs its own check.
Common wrong results
The wrong assumption is that the hint rejects values outside 0 to 20. With no validation rule, the message alone would not reject a hypothetical 25. Do not type it into this fixture: B2 and B3 must stay blank. A stricter message does not create a rule.
A second wrong result is no hint at all. Two causes come from the Microsoft text. One is leaving Show input message when cell is selected unticked, so the title and message are typed but never shown. The other is selecting a cell outside B2:B3, such as A2, which has no message.
A third is a greyed-out Data Validation command. Microsoft says this can happen when the sheet is protected or the workbook is shared. Do not try to work round it. Stop and ask the owner.
This is also not the same as a Google Sheets dropdown. That product is not described here, and its dropdown steps do not show an Excel input message.
Undo and safe stop
This guide does not teach an input-only removal procedure. Keep the work in a new disposable practice workbook; if you need to remove an existing hint or change validation on real work, stop and ask the owner.
Do not clear all validation to remove this hint. That would be broader than this input-message task. Leave any existing workbook unchanged.
Keep the safe stop simple. Work only in your fictional practice workbook. If the result does not match the After table, stop and ask the owner of the file. Do not type values into B2 or B3 just to make the sheet look finished.
Know what is not established
These steps were checked against text only. They were not run in Excel, and this guide has no app screenshots, no student use, no keyboard or screen reader testing and no print or export testing.
Where the hint appears on screen, how long the text can be and how it looks on your screen depend on your Excel and are not set by this guide. No grade or accessibility benefit is promised.
Common questions
How do I show a hint when a cell is selected in Excel?
Select the cells, then choose Data, Data Validation. On the Input Message tab, tick Show input message when cell is selected, type a Title and type the Input message. This follows the Microsoft page. These steps were not run in Excel.
Does an input message stop someone typing a wrong score?
No. The input message only shows text. Microsoft puts the limits on the Settings tab and the rejection message on the Error Alert tab. This guide sets neither, so a value such as 25 is not blocked by the hint alone.
Why is the Data Validation command unavailable?
Microsoft says the command might be unavailable if the sheet is protected or the workbook is shared, and that you cannot change data validation settings in either case. Stop and ask the owner of the file.
How do I remove the hint again?
This guide does not give an input-only removal procedure. Keep the exercise in a new disposable workbook. If you need to remove an existing hint or change other validation, stop and ask the owner rather than clearing all validation.
Is an input message the same as an error alert?
No. The input message explains expected data when a cell is selected. An error alert belongs to validation rules and appears for an invalid entry. This guide sets no rule or error alert and does not test either.
Is this the same as a dropdown list?
No. A dropdown list is set with Allow, List on the Settings tab. This guide does not set any Allow option and does not create a list. Google Sheets dropdowns are a different product and are not described here.
Sources and scope
Checked from a copy of the Microsoft page text dated . Microsoft controls the Input Message tab steps, the unavailable-command note, the split between the Settings, Input Message and Error Alert tabs.
- Microsoft Support: Apply data validation to cells - the Input Message tab, the checkbox, the unavailable-command note, the distinction from Error Alert. Its sections on list, date, time, text length and custom formula rules are not taught here.
- ExcelRibbon tips: Setting Data Validation Input Messages - secondary instructional context only. It shows that setting an input message is a common how-to question. It is not used for any step, version claim or measure of how many people search for it.