메인 컨텐츠로 가기

Excel 셀의 문자 길이를 제한하는 방법은 무엇입니까?

Excel의 셀은 최대 32,767자를 포함할 수 있으며, 1,024자만 표시되고 수식 입력줄에는 32,767자가 모두 표시됩니다. 그러나 사용자 입력을 셀의 특정 문자 수(예: 10자로 제한)로 제한해야 하는 경우도 있습니다. 이 튜토리얼에서는 Excel 셀의 문자 수를 효과적으로 제한하는 방법을 보여줍니다.


셀의 문자 수 제한

이 섹션에서는 특정 셀이나 셀 범위에 입력할 수 있는 문자 수를 제한하는 단계를 설명합니다.

  1. 문자 길이 제한을 적용하려는 셀 범위를 선택합니다.
  2. 데이터 유효성 검사 FBI 증오 범죄 보고서 데이터 도구 아래 그룹 Data 탭.
  3. . 데이터 유효성 검사 대화 상자에서 다음과 같이 유효성 검사 규칙을 설정하십시오.
    1. 에서 허용하다: 드롭 다운 메뉴에서 텍스트 길이.
    2. 에서 날짜 : 드롭다운에서 요구 사항에 따라 기준을 선택합니다.
      1. 선택 동일 정확한 문자 수(예: 10자)를 위한 옵션입니다.
      2. 선택 보다 작거나 같음 최대 문자 제한은 예를 들어 최대 10자입니다.
      3. 선택 보다 큰 특정 개수 이상(예: 10자 이상).
    3. . 최고/최저한의/길이 상자에 필요에 따라 문자 제한에 원하는 숫자를 입력합니다.
  4. OK.

이제 사용자는 선택한 셀에 설정된 문자 제한 내에서 텍스트를 입력하도록 제한됩니다.

Excel에서 셀 / 선택 항목에 특수 문자, 숫자 또는 문자를 입력하지 못하도록 쉽게 방지

Excel 용 Kutools 타이핑 방지 기능을 사용하면 Excel 셀이나 선택 항목에서 문자 유형을 쉽게 제한할 수 있습니다.
A. 등의 특수문자 입력을 차단합니다. *, !등;
B. 숫자나 특정 문자 등 특정 문자의 입력을 제한합니다.
C. 필요에 따라 숫자나 문자 등 지정된 문자만 입력할 수 있습니다.

글자수 제한을 알리는 입력 메시지 설정

여기서는 아래 스크린샷과 같이 사용자가 입력을 시작하기 전에 문자 제한에 대해 알리는 입력 메시지를 설정하는 방법을 설명합니다.

  1. 입력 메시지를 추가할 셀을 선택합니다.
  2. 데이터 유효성 검사 FBI 증오 범죄 보고서 데이터 도구 아래 그룹 Data 탭.
  3. . 데이터 유효성 검사 대화 상자에서 입력 메시지 탭을 누르고 다음과 같이하십시오.
    1. 확인 셀 선택시 입력 메시지 표시 옵션을 선택합니다.
    2. 메시지 제목과 메시지 내용을 입력하세요.
  4. OK.

이제 입력 메시지가 구성된 셀을 클릭하면 앞서 입력한 메시지 제목과 내용을 표시하는 툴팁이 나타납니다.


글자 수 제한 위반에 대한 오류 경고 활성화

이 섹션에서는 입력한 데이터가 지정된 문자 제한을 충족하지 않는 경우 사용자에게 즉시 알리도록 설계된 Excel에서 오류 경고를 구성하는 방법을 안내합니다. 스크린샷 보기:

  1. 잘못된 데이터 입력 인스턴스에 대한 오류 경고를 활성화하려는 셀을 선택합니다.
  2. 데이터 유효성 검사 FBI 증오 범죄 보고서 데이터 도구 아래 그룹 Data 탭.
  3. . 데이터 유효성 검사 대화 상자에서 오류 경고 탭을 누르고 다음과 같이하십시오.
    1. 확인 잘못된 데이터 입력 후 오류 경고 표시 옵션을 선택합니다.
    2. 선택 경고 옵션에서 스타일 : 드롭 다운 상자.
    3. 알림 제목과 오류 메시지를 입력하세요.
  4. OK.

이제부터 셀에 입력한 텍스트가 10자를 초과하는 등 유효하지 않은 경우 미리 설정된 경고 제목과 메시지를 표시하는 경고 대화 상자가 나타납니다.


데모: 입력 메시지 및 경고 경고가 포함된 셀의 문자 길이 제한


Excel 용 Kutools: 300개 이상의 편리한 도구를 손쉽게 사용할 수 있습니다! 지금 바로 기능 제한 없이 30일 무료 평가판을 시작해 보세요. 지금 다운로드!

한 번의 클릭으로 단일 열 / 목록에 중복 데이터 입력 방지

Excel의 혁신적인 Kutools 중복 방지 유틸리티는 Excel 사용자에게 목록이나 열의 중복 항목을 쉽게 방지할 수 있는 편리함을 제공합니다. 단 한 번의 클릭만으로 이 강력한 도구는 스프레드시트의 데이터 무결성과 정확성을 보장합니다.

관련 기사 :

Excel에서 셀 값 항목을 제한하는 방법은 무엇입니까?

최고의 사무 생산성 도구

🤖 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 (54)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Thank you!
This comment was minimized by the moderator on the site
why date and number is allowed at text length?
This comment was minimized by the moderator on the site
Hi there, numbers are also characters. So if you set the max length less than 10 characters, as long as you don't input 10 or more number characters, you will be good.

Amanda
This comment was minimized by the moderator on the site
This is almost the exact solution I need but still need a bit more help. What I'm trying to achieve is to set a cell to have a max of 40 characters but not stop the user from entering all the data he needs, instead i would like anything over the 40 character limit to be populated in a second designated cell. Is this even a possibility? Thank you everyone in advance for any assistance provided.
This comment was minimized by the moderator on the site
This comment was minimized by the moderator on the site
I saw Tomas question about putting an exact limit of 10 spaces and your formula =A1&REPT(" ",10-LEN(A1)) however I need to take it a step further. I want to take three separate fields that I have set their spaces to exactly 10 and concatenate them with their "spaces" intact. Also, if I don't limit what they enter and they enter MORE than 10 characters in one of the cells I want to take ONLY the first 10. So as an example, I want to give them three cells they can enter information in. I don't want to limit what they input BUT, I want to concatenate these three fields and pick up 10 characters from each one. So if the first cell has 4 characters, in my concatenate formula I want it to pick up the 4 characters PLUS 6 spaces. If the second field has 20 characters, I want to only pick up the first 10 characters and the same thing for the third cell. We are trying to get to a uniform 30 characters of description but some names are longer or shorter than others. We want this to break evenly with 10 characters per cell. Hopefully this is making sense.
This comment was minimized by the moderator on the site
Hi, do you know how to put exact length limit 10 and when put abc i want from excel to put 8 space?
I want to set a cell to 10 character, when input 2 character then will auto fill up with 8 space after. if the cell is blank, then return with 10 space. this is for setting a excel file for user input and save as txt or cvs file for import to other software.
This comment was minimized by the moderator on the site
Hi Tomas,
You can use a formula to limit the text length: =A1 & REPT(" ",10-LEN(A1))
This comment was minimized by the moderator on the site
I want to limit the quantity of a cell depending on the category of another one,

For example if I input in A1 "Ok" in B1 must be limit to 10 characters
but if A1= "NG", B1 must be limit to 12 characters.
This comment was minimized by the moderator on the site
[quote]Hi, do you know how to put exact length limit 10 and when put abc i want from excel to put 8 space?By Ivan[/quote] I want to set a cell to 10 character, when input 2 character then will auto fill up with 8 space after. if the cell is blank, then return with 10 space. this is for setting a excel file for user input and save as txt or cvs file for import to other software
This comment was minimized by the moderator on the site
Hi, I have a attendance sheet. from 1 to 31. I put "P" on each cell if person is present. Now I want that how many times "P" is continuing present in cell. As as example - I have put "P" from 1 to 6 , then from 8th to 9th put P, and 10th is gap. then from 11th its continue to 18th. ... now i want how many times P is continue 6 time . PPPPPP PP PPPPPPPP Manually the answer is : 2(1to6 = 1,11to18=1) If you have any formula to count this it will be a great help.
This comment was minimized by the moderator on the site
=COUNTIF(B2:B17,">""") this formula will ignore empty cells but will count cells with data in i.e. P
This comment was minimized by the moderator on the site
Hi. I want out put txt file and no spaces between cell values. Like 3 cells with First Name, Middle and last. Entered Shawn G Goldman as SHAWNGGOLDMAN
This comment was minimized by the moderator on the site
Hi I want few things in a cell. I only want numbers in cell. I want to limit to 10 characters. I want to remove decimal like 15.00 to 1500. I want to indent to right. Also to add 0's to left to make it 10 characters .like 15.00 to 0000001500
There are no comments posted here yet
Load More
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations