You are on page 1of 20

Start Here

Click Consulting
Purpose To provide sample exercises for using the Data Validation feature.

Topics
The topics covered are:

Sheet Topic
Exercise 1 Decimal
Exercise 2 Whole Number
Exercise 3 List on same sheet
Exercise 4 List on different sheet
Exercise 5 List with named reference
Exercise 6 List with Table
Exercise 1
Click Consulting
Exercise Using the techniques presented in the book, please perform the following:
Prevent the user from entering any amount greater than $75 or less than $0, in the Amount column for Me

Travel Expense Reimbursement

Name:
Date:
Client:

Item Account Notes Amount


Air Travel $0.00
Hotel Travel $0.00
Meals Meals & Ent $0.00
Car Travel $0.00
Parking Travel $0.00
Total $0.00
n $0, in the Amount column for Meals
Exercise 2
Click Consulting
Exercise Using the techniques presented in the book, please perform the following:
Allow the user to enter a whole number between 100 and 999 in the Department Number cell
Set an Input Message as well: Title is "Alert" and message is "Please enter a valid department number
Set an Error Alert style Stop as well: Title is "Error" and message is "Please enter a valid dept number

PTO Request
Name
Department
Date

Comments
ment Number cell
a valid department number between 100 and 999"
enter a valid dept number between 100 and 999"
Exercise 3
Click Consulting
Exercise Using the techniques presented in the book, please perform the following:
Allow the user to enter a valid department, from the list below.
Provide an in-cell drop down.

User Input
Department

Department List
Corporate
Accounting
HR
Operations
Research
Manufacturing
Sales
Marketing
Logistics
IT
Warehouse
Exercise 4
Click Consulting
Exercise Using the techniques presented in the book, please perform the following:
Restrict entry in the Client column to valid Clients, and the EE column to valid Employees.
Use the lists on the Exercise 4 Lists sheet for the valid choices.

Data Entry
Date Client EE Comments
Exercise 4 List
Click Consulting
Purpose To provide lists for Exercise 4

Client List
Ramsey Electronics
Digital Media, Inc.
Hubble Contracting
AE Time
Quantum Computers, Pty LTD
Quark Express
Strings and Things, Inc.

Employee List
DAR
JUB
DMK
GSL
BYG
BEO
TPS
Exercise 5
Click Consulting
Exercise Using the techniques presented in the book, please perform the following:
Restrict entry to three-letter month abbreviations; use the list on the Exercise 5 List sheet.
Note: please be sure to use the Named Reference "months" and not the row/column references.

Settings

Month Jan

Report
Dept Jan Year To Date
Corporate $2,160 $2,160
Accounting $1,304 $1,304
HR $174 $174
Operations $4,695 $4,695
Research $1,456 $1,456
Manufacturing $2,113 $2,113
Sales $690 $690
Marketing $1,851 $1,851
Logistics $209 $209
IT $683 $683
Warehouse $2,190 $2,190
cise 5 List sheet.
ow/column references.
Exercise 5 List
Click Consulting
Exercise Using the techniques discussed in the book, please perform the following:
Name the month range below "months"
Then, use the named reference in the Exercise 5 sheet

Months
Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec

Data

Department Jan Feb Mar Apr May Jun Jul


Corporate $2,160 $4,879 $1,638 $2,296 $515 $2,391 $2,510
Accounting $1,304 $1,905 $2,406 $2,999 $1,221 $1,305 $4,147
HR $174 $3,123 $2,304 $3,743 $4,082 $2,902 $275
Operations $4,695 $809 $780 $393 $2,209 $4,891 $1,400
Research $1,456 $537 $2,216 $2,006 $1,524 $1,911 $4,354
Manufacturing $2,113 $4,040 $2,745 $2,249 $1,181 $2,561 $3,293
Sales $690 $3,324 $4,902 $4,176 $829 $1,295 $2,995
Marketing $1,851 $248 $1,357 $1,568 $1,115 $3,113 $4,655
Logistics $209 $2,635 $3,779 $1,353 $693 $2,255 $3,767
IT $683 $4,062 $4,988 $149 $3,184 $2,343 $3,077
Warehouse $2,190 $1,558 $1,549 $2,223 $4,175 $717 $2,864
Aug Sep Oct Nov Dec
$4,109 $4,521 $1,434 $1,766 $2,500
$1,976 $3,438 $3,282 $1,516 $411
$895 $4,468 $4,197 $1,449 $4,613
$1,090 $3,602 $1,817 $1,948 $1,033
$1,753 $1,731 $4,676 $3,636 $2,335
$448 $1,835 $2,600 $1,402 $2,298
$4,230 $1,908 $2,727 $3,930 $3,739
$3,802 $3,762 $466 $2,265 $2,583
$679 $2,863 $211 $3,616 $1,040
$4,187 $2,555 $2,012 $164 $2,538
$794 $3,073 $386 $167 $1,108
Exercise 6
Click Consulting
Exercise Using the techniques presented in the book, please perform the following:
Restrict the input in the Rep cell to valid Reps found on the Exercise 6 Support sheet.
Note: be sure to use a Named Reference and Table, not traditional row/column references.

Settings
Rep DAR

Commission Report
Sales $2,824.00
Rate 3.00%
Commission $84.72
6 Support sheet.
ow/column references.
Exercise 6 Support
Click Consulting
Exercise Convert the region of Reps below to a Table.
Name the Table "tbl_reps"
Then, set up a custom Named Reference called "dd_reps" that points to "tbl_reps"
Note: I use tbl as a prefix for all of my Table names.
Note: I use dd as a prefix for names used in drop-down lists

Reps

Initials
DAR
JUB
DMK
GSL
BYG
BEO
TPS

Data

RepID Date Amount


JUB 7/18/2012 $3,085
DMK 12/21/2012 $3,564
TPS 3/25/2012 $745
JUB 2/9/2012 $3,022
JUB 1/28/2012 $4,348
GSL 6/22/2012 $3,791
BEO 1/13/2012 $4,519
BYG 5/8/2012 $2,974
BEO 3/28/2012 $2,621
TPS 4/10/2012 $1,585
TPS 3/20/2012 $332
JUB 8/26/2012 $2,846
GSL 12/3/2012 $1,969
BEO 2/7/2012 $2,047
DMK 3/27/2012 $4,116
TPS 7/1/2012 $4,352
BEO 11/28/2012 $4,851
GSL 10/2/2012 $1,439
JUB 8/14/2012 $3,940
DAR 9/2/2012 $1,037
DMK 10/3/2012 $3,984
GSL 11/30/2012 $2,982
DMK 5/21/2012 $2,355
TPS 10/11/2012 $2,891
DMK 7/26/2012 $3,357
TPS 4/11/2012 $1,625
GSL 11/24/2012 $374
JUB 11/1/2012 $2,995
TPS 6/12/2012 $1,990
DMK 3/19/2012 $1,961
DAR 7/22/2012 $1,787
JUB 9/12/2012 $2,810
TPS 6/21/2012 $800
BYG 5/30/2012 $164
BYG 8/23/2012 $4,821
TPS 6/18/2012 $3,524
Extra Credit 1
Click Consulting
Exercise Using the techniques presented in the book, please perform the following:
Restrict the employee to entering a PTO Date less than 180 days from Today's Date (as entered by
Set an Input Message on the PTO Date cell to "Please enter a date within 180 calendar days of Tod
Set an Error Alert to "Per company policy, PTO requests are limited to 180 days of the date of the re

PTO Request
Name
Today's Date
PTO Date

Comments
ay's Date (as entered by user)
180 calendar days of Today's date"
days of the date of the request."
Extra Credit 2
Click Consulting
Exercise Using the techniques presented in the book, please perform the following:
Restrict the employee to entering a PTO Date less than 180 days from today (as computed by Excel)
Set an Input Message on the PTO Date cell to "Please enter a date within 180 calendar days of Today's d
Set an Error Alert to "Per company policy, PTO requests are limited to 180 days of the date of the reques

PTO Request
Name
PTO Date

Comments
ay (as computed by Excel)
180 calendar days of Today's date"
days of the date of the request."

You might also like