By typing the text Input Error, this will create customized error alert in cell G5 that triggers when a value outside range of 1 to 5 or a non-integer value is entered, displaying the title and message specified.
In order to create a customized error alert with the "Stop" style in cell G5, we need to follow some steps. We will Select cell G5 in your spreadsheet. Then, go to the "Data" tab in the Excel ribbon.
You will cClick on the "Data Validation" button in the "Data Tools" group and this will open the "Data Validation" dialog box. In the "Settings" tab of the dialog box, make sure the "Allow" drop-down menu is set to "Whole number."
In the "Data" tab, set the "Minimum" value to 1 and the "Maximum" value to 5. So, this ensures that only whole numbers between 1 and 5 can be entered in cell G5.
Note: The graph is attached below.