68.8k views
2 votes
6. Go to the Volunteer Records worksheet, where Kiara tracks volunteer assignments. She and her staff usually enter the volunteer details directly on the worksheet. She wants to make sure everyone enters the data correctly, especially the dates in the Date column. The festival begins on May 28, 2021 and ends on May 31, 2021. Create a data validation rule as follows: a. In the range C3:C16, create a data validation rule that accepts only date values between 5/28/21 and 5/31/21. b. Create an input message that uses Volunteer Assignment Date as the title and the following text as the input message: Enter the date of the volunteer assignment. c. Create a Stop style error alert that uses Invalid Date as the title and the following text as the error message: Enter a date between May 28 and May 31.

2 Answers

5 votes

The data validation rule ensures that only valid date values between May 28, 2021, and May 31, 2021, are accepted in the specified range. The input message provides guidance to the user, prompting them to enter the date of the volunteer assignment. If an invalid date is entered, the error alert with the title "Invalid Date" and the specified error message will appear, instructing the user to enter a date within the specified range. This helps Kiara and her staff maintain accurate and consistent data in the Volunteer Records worksheet.

To create a data validation rule in Excel for the Volunteer Records worksheet, follow these steps:

a. Data Validation Rule:

  1. Select the range C3:C16.
  2. Go to the "Data" tab on the Ribbon.
  3. Click on "Data Validation" in the "Data Tools" group.
  4. In the Data Validation dialog box, under the "Settings" tab:
  5. Allow: Choose "Date."
  6. Data: Choose "between."
  7. Start date: Enter 5/28/2021.
  8. End date: Enter 5/31/2021.

b. Input Message:

  1. In the same Data Validation dialog box, switch to the "Input Message" tab.
  2. Set the title to "Volunteer Assignment Date."
  3. Enter the following text in the Input Message field: "Enter the date of the volunteer assignment."

c. Error Alert:

  1. Switch to the "Error Alert" tab in the Data Validation dialog box.
  2. Set the style to "Stop."
  3. Set the title to "Invalid Date."
  4. Enter the following text in the Error Message field: "Enter a date between May 28 and May 31."
User Jinbo Wang
by
8.4k points
4 votes

a. In the range C3:C16, set a data validation rule allowing only date values between 5/28/21 and 5/31/21, using the festival dates.

b. Input message: "Volunteer Assignment Date - Enter the date of the volunteer assignment."

c. Stop style error alert: "Invalid Date - Enter a date between May 28 and May 31."

a. Setting up Data Validation Rule:

  1. Select the range C3:C16 on the Volunteer Records worksheet.
  2. Go to the "Data" tab in the Excel ribbon.
  3. Click on "Data Validation" in the "Data Tools" group.
  4. In the Data Validation dialog box, choose "Date" from the Allow dropdown menu.
  5. Set the Start Date to 5/28/2021 and the End Date to 5/31/2021.
  6. Click "OK" to apply the rule.

b. Creating an Input Message:

  1. Select the same range C3:C16.
  2. Go to the "Data" tab and click on "Data Validation" again.
  3. In the Data Validation dialog box, go to the "Input Message" tab.
  4. Enter "Volunteer Assignment Date" as the title.
  5. In the Input Message box, provide the text: "Enter the date of the volunteer assignment."
  6. Click "OK" to apply the input message.

c. Setting up Error Alert:

  1. Select the same range C3:C16.
  2. Go to the "Data" tab and click on "Data Validation."
  3. In the Data Validation dialog box, go to the "Error Alert" tab.
  4. Choose "Stop" from the Style dropdown menu.
  5. Enter "Invalid Date" as the title.
  6. In the Error Message box, provide the text: "Enter a date between May 28 and May 31."
  7. Click "OK" to apply the error alert.

User Yasen Zhelev
by
8.1k points