{"id":1927,"date":"2021-01-19T12:42:56","date_gmt":"2021-01-19T05:42:56","guid":{"rendered":"https:\/\/hoctin.vn\/?p=1927"},"modified":"2021-04-14T11:43:32","modified_gmt":"2021-04-14T04:43:32","slug":"data-validation-nang-cao","status":"publish","type":"post","link":"https:\/\/hoctin.vn\/data-validation-nang-cao\/","title":{"rendered":"Data Validation N\u00e2ng Cao T\u1ea1o List C\u00f3 \u0110i\u1ec1u Ki\u1ec7n L\u00e0 B\u1ed9i S\u1ed1 C\u1ee7a M\u1ed9t S\u1ed1 Ho\u1eb7c T\u0103ng D\u1ea7n Theo Th\u1ee9 T\u1ef1"},"content":{"rendered":"\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t

Trong b\u00e0i vi\u1ebft <\/span>Data Validation Trong Excel<\/a>, hoctin.vn \u0111\u00e3 gi\u1edbi thi\u1ec7u v\u1ec1 c\u00e1ch t\u1ea1o menu x\u1ed5 xu\u1ed1ng c\u01a1 b\u1ea3n trong Excel.<\/span><\/p>

B\u00e0i vi\u1ebft n\u00e0y s\u1ebd h\u01b0\u1edbng d\u1eabn c\u00e1c b\u1ea1n c\u00e1ch s\u1eed d\u1ee5ng Data Validation n\u00e2ng cao \u0111\u1ec3 t\u1ea1o list c\u00f3 \u0111i\u1ec1u ki\u1ec7n l\u00e0 b\u1ed9i s\u1ed1 c\u1ee7a 1 s\u1ed1 ho\u1eb7c list \u0111\u01b0\u1ee3c nh\u1eadp t\u0103ng d\u1ea7n trong Excel b\u1eb1ng k\u1ebft h\u1ee3p c\u00e1c h\u00e0m MOD, OFFSET.<\/span><\/p>

\u00a0<\/span><\/p>\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t

\u0110\u1ec3 t\u1ea1o \u1ee9ng Data Validation n\u00e2ng cao v\u00e0o vi\u1ec7c x\u00e1c th\u1ef1c d\u1eef li\u1ec7u c\u00f3 \u0111i\u1ec1u ki\u1ec7n Custom, c\u00f9ng \u00f4n l\u1ea1i c\u00e1ch t\u1ea1o Data Validation (\u0111\u00e3 \u0111\u01b0\u1ee3c m\u00ecnh n\u00eau \u1edf b\u00e0i vi\u1ebft tr\u01b0\u1edbc) b\u1eb1ng c\u00e1ch ch\u1ecdn v\u00f9ng d\u1eef li\u1ec7u s\u1ebd nh\u1eadp v\u00e0 ch\u1ecdn ch\u1ee9c n\u0103ng tr\u00ean tab Data:<\/span><\/span><\/p>\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t> Ch\u1ecdn Data Validation 2 l\u1ea7n \u0111\u1ec3 m\u1edf h\u1ed9p tho\u1ea1i\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t

\u00a0<\/span><\/p>

C\u00e1c v\u00ed d\u1ee5 d\u01b0\u1edbi \u0111\u00e2y v\u1ec1 c\u00e1ch vi\u1ebft \u0111i\u1ec1u ki\u1ec7n \u0111\u1ec3 d\u1eef li\u1ec7u l\u00e0 b\u1ed9i s\u1ed1 c\u1ee7a 1 s\u1ed1 (v\u00ed d\u1ee5 s\u1ed1 4) v\u00e0 \u0111i\u1ec1u ki\u1ec7n \u0111\u1ec3 d\u1eef li\u1ec7u nh\u1eadp trong d\u00f2ng d\u01b0\u1edbi kh\u00f4ng \u0111\u01b0\u1ee3c nh\u1ecf h\u01a1n d\u1eef li\u1ec7u c\u00f9ng c\u1ed9t n\u1eb1m \u1edf d\u00f2ng tr\u01b0\u1edbc \u0111\u00f3.<\/span><\/p>\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t

1, V\u00ed D\u1ee5 Data Validation N\u00e2ng Cao: \u0110i\u1ec1u Ki\u1ec7n S\u1ed1 \u0110\u01b0\u1ee3c Nh\u1eadp Ph\u1ea3i L\u00e0 B\u1ed9i S\u1ed1 C\u1ee7a 1 S\u1ed1<\/span><\/span><\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t

B\u1ea1n c\u1ea7n vi\u1ebft h\u00e0m =MOD(A4,4)=0 \u0111\u1ec3 \u00f4 A4 chia h\u1ebft cho 4. C\u00e1c \u00f4 sau A5, A6,… s\u1ebd nh\u1ea3y c\u00f4ng th\u1ee9c t\u01b0\u01a1ng \u1ee9ng.<\/span><\/span><\/p>\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\"S\u1eed\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t

2, V\u00ed D\u1ee5 Data Validation N\u00e2ng Cao: <\/span><\/span>\u0110i\u1ec1u Ki\u1ec7n \u0110\u1ec3 Nh\u1eadp Ng\u00e0y Th\u00e1ng Kh\u00f4ng Nh\u1ecf H\u01a1n D\u1eef Li\u1ec7u \u0110\u00e3 Nh\u1eadp Tr\u01b0\u1edbc \u0110\u00f3<\/span><\/span><\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t

B\u1ea1n c\u1ea7n nh\u1eadp c\u00f4ng th\u1ee9c sau v\u00e0o v\u00f9ng \u00f4 c\u1ea7n nh\u1eadp d\u1eef li\u1ec7u:<\/span><\/p>

L\u01b0u \u00fd: \u00f4 A4 l\u00e0 \u00f4 \u0111\u1ea7u ti\u00ean nh\u1eadp ng\u00e0y th\u00e1ng n\u0103m kh\u00f4ng c\u1ea7n cho v\u00e0o v\u00f9ng Data Validation v\u00ec kh\u00f4ng c\u00f3 \u0111i\u1ec1u ki\u1ec7n c\u1ee5 th\u1ec3 n\u00e0o v\u1edbi \u00f4 \u0111\u1ea7u ti\u00ean (\u0111i\u1ec1u ki\u1ec7n ch\u1ec9 b\u1eaft \u0111\u1ea7u t\u1eeb \u00f4 th\u1ee9 2 l\u00e0 \u00f4 sau kh\u00f4ng \u0111\u01b0\u1ee3c l\u1edbn h\u01a1n \u00f4 tr\u01b0\u1edbc \u0111\u00f3).<\/span><\/p>\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\"\u0110i\u1ec1u\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t

Ch\u1eafc h\u1eb3n c\u00e1c b\u1ea1n th\u1ea5y l\u1ea1 t\u1ea1i sao hoctin.vn kh\u00f4ng \u0111\u1eb7t start date l\u00e0 A4 lu\u00f4n thay v\u00ec ph\u1ea3i s\u1eed d\u1ee5ng c\u1ea5u tr\u00fac h\u00e0m:<\/span><\/p>

=OFFSET(reference, rows, cols, height, width)<\/span><\/p>\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t

Nguy\u00ean nh\u00e2n v\u00ec n\u1ebfu ch\u1ec9 \u0111\u1eb7t Start date l\u00e0 1 \u00f4 ngay tr\u00ean \u00f4 c\u1ea7n nh\u1eadp th\u00ec khi b\u1ea1n nh\u1eadp d\u1eef li\u1ec7u ng\u00e0y th\u00e1ng ti\u1ebfp theo c\u00e1ch \u0111\u00f3 v\u00e0i \u00f4 tr\u1ed1ng, ch\u1ee9c n\u0103ng Data Validation c\u1ee7a b\u1ea1n s\u1ebd kh\u00f4ng c\u00f3 t\u00e1c d\u1ee5ng g\u00ec cho vi\u1ec7c r\u00e0ng bu\u1ed9c d\u1eef li\u1ec7u c\u00f3 \u0111i\u1ec1u ki\u1ec7n.<\/span><\/span><\/p>\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t

Vi\u1ec7c \u00e1p d\u1ee5ng c\u00f4ng th\u1ee9c k\u1ebft h\u1ee3p h\u00e0m OFFSET gi\u00fap Excel b\u00e1o l\u1ed7i khi b\u1ea1n nh\u1eadp c\u00e1ch d\u00f2ng nh\u01b0 sau:<\/span><\/span><\/p>\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\"Excel\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t

\u00a0<\/span><\/p>

Gi\u1ea3i th\u00edch \u00fd ngh\u0129a h\u00e0m OFFSET($A$4,0,0,ROW(A5)-4,1):<\/span><\/p>\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t