0805 Data Validation - Text Length w. Error Alert

Advanced Excel Crash Course Section 8: Data Input
1 minutes
Share the link to this page
Copied
  Completed
You need to have access to the item to view this lesson.
One-time Fee
$99.99
List Price:  $139.99
You save:  $40
€85.21
List Price:  €119.31
You save:  €34.09
£74.77
List Price:  £104.68
You save:  £29.91
CA$136.51
List Price:  CA$191.12
You save:  CA$54.61
A$141.25
List Price:  A$197.75
You save:  A$56.50
S$127.11
List Price:  S$177.96
You save:  S$50.85
HK$782.14
List Price:  HK$1,095.03
You save:  HK$312.89
CHF 77.20
List Price:  CHF 108.09
You save:  CHF 30.88
NOK kr952.47
List Price:  NOK kr1,333.49
You save:  NOK kr381.02
DKK kr636.71
List Price:  DKK kr891.43
You save:  DKK kr254.71
NZ$167.95
List Price:  NZ$235.14
You save:  NZ$67.18
د.إ367.21
List Price:  د.إ514.11
You save:  د.إ146.90
৳12,227.09
List Price:  ৳17,118.42
You save:  ৳4,891.32
₹9,146.72
List Price:  ₹12,805.77
You save:  ₹3,659.05
RM392.66
List Price:  RM549.74
You save:  RM157.08
₦136,319.36
List Price:  ₦190,852.56
You save:  ₦54,533.20
₨27,964.61
List Price:  ₨39,151.58
You save:  ₨11,186.96
฿3,144.58
List Price:  ฿4,402.54
You save:  ฿1,257.96
₺4,395.95
List Price:  ₺6,154.50
You save:  ₺1,758.55
B$513.99
List Price:  B$719.61
You save:  B$205.61
R1,609.36
List Price:  R2,253.18
You save:  R643.81
Лв166.64
List Price:  Лв233.30
You save:  Лв66.66
₩145,822.13
List Price:  ₩204,156.82
You save:  ₩58,334.68
₪307.76
List Price:  ₪430.88
You save:  ₪123.11
₱5,821.21
List Price:  ₱8,149.93
You save:  ₱2,328.72
¥15,699.39
List Price:  ¥21,979.78
You save:  ¥6,280.38
MX$1,730.04
List Price:  MX$2,422.13
You save:  MX$692.08
QR363.70
List Price:  QR509.20
You save:  QR145.49
P1,316.84
List Price:  P1,843.63
You save:  P526.79
KSh12,908.70
List Price:  KSh18,072.70
You save:  KSh5,164
E£4,921.84
List Price:  E£6,890.78
You save:  E£1,968.93
ብር15,519
List Price:  ብር21,727.22
You save:  ብር6,208.22
Kz91,203.97
List Price:  Kz127,689.21
You save:  Kz36,485.24
CLP$87,329.17
List Price:  CLP$122,264.34
You save:  CLP$34,935.16
CN¥688.19
List Price:  CN¥963.49
You save:  CN¥275.30
RD$6,039.49
List Price:  RD$8,455.53
You save:  RD$2,416.04
DA13,025.17
List Price:  DA18,235.76
You save:  DA5,210.58
FJ$222.35
List Price:  FJ$311.30
You save:  FJ$88.95
Q767.45
List Price:  Q1,074.47
You save:  Q307.01
GY$20,933.69
List Price:  GY$29,308
You save:  GY$8,374.31
ISK kr12,228.77
List Price:  ISK kr17,120.77
You save:  ISK kr4,892
DH916.29
List Price:  DH1,282.85
You save:  DH366.55
L1,718.79
List Price:  L2,406.38
You save:  L687.58
ден5,262.65
List Price:  ден7,367.92
You save:  ден2,105.27
MOP$806.34
List Price:  MOP$1,128.91
You save:  MOP$322.57
N$1,592.13
List Price:  N$2,229.04
You save:  N$636.91
C$3,682.54
List Price:  C$5,155.70
You save:  C$1,473.16
रु14,566.18
List Price:  रु20,393.23
You save:  रु5,827.05
S/335.71
List Price:  S/470
You save:  S/134.29
K436.67
List Price:  K611.36
You save:  K174.68
SAR375.46
List Price:  SAR525.66
You save:  SAR150.20
ZK1,890.52
List Price:  ZK2,646.81
You save:  ZK756.28
L434.36
List Price:  L608.13
You save:  L173.76
Kč2,066.89
List Price:  Kč2,893.73
You save:  Kč826.83
Ft32,318.35
List Price:  Ft45,246.98
You save:  Ft12,928.63
SEK kr912.13
List Price:  SEK kr1,277.02
You save:  SEK kr364.89
ARS$139,684.93
List Price:  ARS$195,564.49
You save:  ARS$55,879.56
Bs691.40
List Price:  Bs967.99
You save:  Bs276.58
COP$378,597.11
List Price:  COP$530,051.11
You save:  COP$151,453.99
₡47,210.52
List Price:  ₡66,096.62
You save:  ₡18,886.09
L2,647.69
List Price:  L3,706.87
You save:  L1,059.18
₲644,475.37
List Price:  ₲902,291.30
You save:  ₲257,815.93
$U3,844.94
List Price:  $U5,383.08
You save:  $U1,538.13
zł360.54
List Price:  zł504.77
You save:  zł144.23
Already have an account? Log In

Transcript

Hi there. in one of the previous videos, we saw how to validate user input based on the date inputs. Example, we can define the range, this time, our focus is going to be on column D. Now, here I want to have a technique built in which says whatever the ID code mentioned, it should not be exceeding four in length. In fact, to be more precise, it should be exactly four in length. So how do I factor that in? I choose the entire group of cells.

I go to data, I go to data validation, data validation, there, I click on and this time let me go to settings allow any value No, allow text length, and here you say for minimum and maximum for an error alert. I just gave a customized message that is in valid ID and error message I say the text length should be four. That's about it. As I press OK, let me test this out if I write a B one two, perfect, if I write a DD one to a ha, you notice I get the message which I had tried to populate the text lens should be for the try and let me correct this 1234. So this was about restricting the text length with the min or max. In this case, it was min max being the same thing.

That means it should be exactly for England.

Sign Up

Share

Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.