메인 컨텐츠로 가기

 Excel 워크 시트의 한 셀에 여러 데이터 유효성 검사를 적용하는 방법은 무엇입니까?

Excel 워크 시트에서 하나의 데이터 유효성 검사를 셀에 적용하는 것이 일반적 일 수 있지만 여러 데이터 유효성 검사를 하나의 셀에 사용하려고 시도한 적이 있습니까? 이 기사에서는 Excel 에서이 작업을 해결하는 몇 가지 다른 예에 대해 설명합니다.

하나의 셀에 여러 데이터 유효성 검사 적용 (예 1)

하나의 셀에 여러 데이터 유효성 검사 적용 (예 2)

하나의 셀에 여러 데이터 유효성 검사 적용 (예 3)


하나의 셀에 여러 데이터 유효성 검사 적용 (예 1)

예를 들어, 다음과 같은 기준으로 셀에 데이터 유효성 검사를 설정하려고합니다. 입력 한 숫자는 100 미만이어야하고 텍스트를 입력하면 다음 스크린 샷과 같이 D2에서 D7까지의 목록에 있어야합니다.

1. 여러 데이터 유효성 검사를 적용 할 셀을 선택한 다음 Data > 데이터 유효성 검사 > 데이터 유효성 검사, 스크린 샷 참조 :

2. 에서 데이터 유효성 검사 대화 상자에서 설정 탭에서 다음 작업을 수행하십시오.

(1.) 선택 관습 인사말 허용 드롭 다운 목록;

(2.) 다음 공식을 입력하십시오. =OR(A2<$C$2,COUNTIF($D$2:$D$7,A2)=1)공식 텍스트 상자.

주의 사항: 위의 공식에서 A2 데이터 유효성 검사를 적용하려는 셀입니다. C2D2 : D7 데이터 유효성 검사를 적용하는 데 필요한 기준입니다.

3. 그런 다음 OK, 이제부터 기준과 일치하는 값만 셀에 입력 할 수 있습니다. 그렇지 않은 경우 경고 프롬프트 상자가 표시되어 스크린 샷을 참조하십시오.


하나의 셀에 여러 데이터 유효성 검사 적용 (예 2)

이 예에서는 아래 스크린 샷과 같이 "Kutools for Excel"텍스트 또는 12 년 1 월 2017 일에서 12 년 31 월 2017 일 사이의 날짜 만 특정 셀에 입력 할 수 있습니다. 이 작업을 해결하려면 다음과 같이하십시오.

1. 로 이동 데이터 유효성 검사 대화 상자와 대화 상자에서 다음 작업을 수행하십시오.

(1.) 클릭 설정 탭;

(2.) 선택 관습 옵션에서 허용 드롭 다운 목록;

(3.) 다음 공식을 입력하십시오. =OR(A2=$C$2,AND(A2>=DATE(2017,12,1), A2<=DATE(2017,12,31))) 공식 텍스트 상자.

주의 사항: 위의 공식에서 A2 데이터 유효성 검사를 적용하려는 셀입니다. C2, 2017,12,12017,12,31 데이터 유효성 검사를 적용하는 데 필요한 기준입니다.

2. 그런 다음 OK 버튼을 누르면 기준과 일치하는 값만 입력 할 수 있으며 다른 값은 다음 스크린 샷과 같이 제한됩니다.


하나의 셀에 여러 데이터 유효성 검사 적용 (예 3)

세 번째 예는 텍스트 문자열이 "KTE"또는 "www"로 시작되어야하며 "KTE"로 시작하는 경우 6 자만 허용됩니다. "www"로 시작하는 경우 10 자만 허용됩니다. 스크린 샷을 참조하십시오.

데이터 유효성 검사의 다음 공식은이를 처리하는 데 도움이 될 수 있습니다.

1. 로 이동 데이터 유효성 검사 대화 상자에서 대화 상자에서 다음 작업을 수행하십시오.

(1.) 클릭 설정 탭;

(2.) 선택 관습 옵션에서 허용 드롭 다운 목록;

(3.) 다음 공식을 입력하십시오. =OR(AND(LEFT(A2,3)="KTE",LEN(A2)=6),AND(LEFT(A2,3)="www",LEN(A2)=10))공식 텍스트 상자.

주의 사항: 위의 공식에서 A2 데이터 유효성 검사를 적용하려는 셀이며 수식의 기준을 자신의 것으로 변경할 수 있습니다.

2. 그런 다음 OK 버튼을 클릭하면 지정한 기준과 일치하는 텍스트 값만 입력 할 수 있습니다. 스크린 샷을 참조하십시오.

주의 사항: 적용해야하는 다른 다른 데이터 유효성 검사 기준이있을 수 있습니다. 원하는대로 다른 기준에 대한 고유 한 수식을 만들 수 있습니다.

최고의 사무 생산성 도구

🤖 Kutools AI 보좌관: 다음을 기반으로 데이터 분석을 혁신합니다. 지능형 실행   |  코드 생성  |  사용자 정의 수식 만들기  |  데이터 분석 및 차트 생성  |  Kutools 기능 호출...
인기 기능: 중복 항목 찾기, 강조 표시 또는 식별   |  빈 행 삭제   |  데이터 손실 없이 열이나 셀 결합   |   수식없이 반올림 ...
슈퍼 조회: 다중 기준 VLookup    다중 값 VLookup  |   여러 시트에 걸친 VLookup   |   퍼지 조회 ....
고급 드롭다운 목록: 드롭다운 목록을 빠르게 생성   |  종속 드롭다운 목록   |  다중 선택 드롭 다운 목록 ....
열 관리자: 특정 개수의 열 추가  |  열 이동  |  Toggle 숨겨진 열의 가시성 상태  |  범위 및 열 비교 ...
특색 지어진 특징: 그리드 포커스   |  디자인보기   |   큰 수식 바    통합 문서 및 시트 관리자   |  리소스 라이브러리 (자동 텍스트)   |  날짜 선택기   |  워크 시트 결합   |  셀 암호화/해독    목록으로 이메일 보내기   |  슈퍼 필터   |   특수 필터 (굵게/기울임꼴/취소선 필터링...) ...
상위 15개 도구 세트12 본문 도구 (텍스트 추가, 문자 제거,...)   |   50+ 거래차트 유형 (Gantt 차트,...)   |   40+ 실용 방식 (생일을 기준으로 나이 계산,...)   |   19 삽입 도구 (QR 코드 삽입, 경로에서 그림 삽입,...)   |   12 매출 상승 도구 (숫자를 단어로, 환율,...)   |   7 병합 및 분할 도구 (고급 결합 행, 셀 분할,...)   |   ... 그리고 더

Excel용 Kutools로 Excel 기술을 강화하고 이전과는 전혀 다른 효율성을 경험해 보세요. Excel용 Kutools는 생산성을 높이고 시간을 절약하기 위해 300개 이상의 고급 기능을 제공합니다.  가장 필요한 기능을 얻으려면 여기를 클릭하십시오...

상품 설명


Office Tab은 Office에 탭 인터페이스를 제공하여 작업을 훨씬 쉽게 만듭니다.

  • Word, Excel, PowerPoint에서 탭 편집 및 읽기 사용, Publisher, Access, Visio 및 Project.
  • 새 창이 아닌 동일한 창의 새 탭에서 여러 문서를 열고 만듭니다.
  • 생산성을 50% 높이고 매일 수백 번의 마우스 클릭을 줄입니다!
Comments (15)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Hi,
I am capturing department (10 departments), rating (5,4,3,2 & 1)and reward type criteria (X, Y and Z) of which i calculate the overall callibration based on certain %. Eg. i have 10 departments having each department 15-20 employees. Now i need a formula wherein in the table against the particular department, lets say department1 to populate the % of employees (only with rating 5 and criteria X) against the total employee of (criteria X and Z).
This comment was minimized by the moderator on the site
I have data in two different columns and i have to apply this with two different criteria. For example, first criteria shows result if a particular cell contains a text "Highlighter" and second criteria show when the cell contain text "Pointer".
Highlighter test results are different than the pointer results and we make separate validation of both data. Is this possible to extract the validation of each criteria in a single cell with no overlapping?
This comment was minimized by the moderator on the site
Hey I want a parent child relationship sort of multiple drop down lists.
For example, if in column one some selects 'a' among the list of a, b & c
Then in the second column the child category of 'a' which is x, y & z should appear
How can that be done?
This comment was minimized by the moderator on the site
This comment was minimized by the moderator on the site
Hi Team, I failed to build example no.1. I copied and pasted the formula:  =OR(A2<$C$2,COUNTIF($D$2:$D$7,A2)=1) and failed. Where is the bug ? Can you please assist ? THX a lot.
This comment was minimized by the moderator on the site
Hello Frank,
Glad to help. The reason why the data validation failed is that you probably didn't choose the data validation cell range. Please select the cell range first (say A2:A10), then click Data > Data Validation > Data Validation to input the formula =OR(A2<$C$2,COUNTIF($D$2:$D$7,A2)=1). Please see the screenshots I uploaded here. Hope it can solve your problem. Have a nice day.
Sincerely,
Mandy
This comment was minimized by the moderator on the site
How can I apply a data validation to multiple columns?
This comment was minimized by the moderator on the site
Hello Fabian,To apple a data validation to multiple columns, the trick is almost identical to the ways we mentioned above. The most important thing is that you select the columns first, then you can set up the rules in the Data Validation dialog box. Plesase have a try. Any question, please feel free to contact us. Have a nice day.Sincerely,Mandy
This comment was minimized by the moderator on the site
i am confuse
This comment was minimized by the moderator on the site
Hi,
I need to validate multiple columns before entering a value into cell. please find my requirement below,
I have 3 columns for example,

A1-Total Credit limit (Mandatory field)
Should have a minimum amount of 100 and multiples of 100:
=AND(ISNUMBER(A1),A1>=100, MOD(A1,100)=0) - Solved!
B1- Weekly Credit limit (Optional filed)
User should be able to input a value only when A1 is filled, Should not be greater than A1, Minimum amount 100 and multiples of 100
=AND(A1<>"",ISNUMBER(B1),B1<=A1, MOD(B1,100=0) - Solved!
C1-Daily Credit limit (Optional field)
User should be able to input a value only when A1 is filled, Should not be greater than A1&B1, Minimum amount 100 and multiples of 100

I need to add following validation, Please Help
I have to check if A1 is filled or not, then C1 shouldn't be greater than A1 and C1 min value should be 100 and multiples of 100 - I have answer to this
How can add a validation on B1 because B1 is optional it can have value and cannot. so if there's a value I have to make sure C1 is not greater than B1 else ignore B1?

How can i have this in data validation?

Thanks once again for the help
This comment was minimized by the moderator on the site
how can I add another Data validation function with this list function. for example I added a list of "yes" and "no". but I also want to add an OR function to this so that if "yes" is selected in one column then others only have to be "no".
This comment was minimized by the moderator on the site
Is it possible to apply data validation on the calcuated column attribute?
This comment was minimized by the moderator on the site
i'm looking for the ability to have a data validation which allows the user to select multiple choices. I.e. the list pops up and user can select Apple, grape, and/or banana. If they select all three, it shows in cell as: "apple, grade, banana". if only 1: "grape" etc... any ideas?
This comment was minimized by the moderator on the site
Hello, jeffe,
Maybe the below article can help you to deal with your problem, please check it:
https://www.extendoffice.com/documents/excel/2448-excel-drop-down-list-multiple-selection.html
This comment was minimized by the moderator on the site
Any idea how to have multiple data validation and a drop down. Drop down uses "List" and this example uses "Custom". Basically if the correct data is present in another column, I want the drop down to be able to be selected to input data. Otherwise if the dropdown is selected the error message appears.
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations