Excel에서 대문자를 소문자로 변경하는 6 가지 방법

대문자를 소문자로 변경하는 상위 6 가지 방법

Excel에서 대문자 텍스트를 소문자로 변경할 수있는 많은 방법이 있습니다. 이 가이드에서는 대문자를 소문자로 만드는 6 가지 방법을 자세히 살펴 보겠습니다.

이 LowerCase Excel 템플릿을 여기에서 다운로드 할 수 있습니다 – LowerCase Excel 템플릿

# 1 Lower Function을 사용하여 Excel에서 대소 문자 변경

MS Excel에는 단어의 각 문자를 대문자로 바꾸는 기능이 내장되어 있습니다. 이는 LOWER 함수 입니다.

Excel에서 일부 동사 목록이 있고 텍스트의 대소 문자를 소문자로 변경하려고한다고 가정 해 보겠습니다.

대소 문자를 소문자로 변경하려면 C2 셀의 함수를 '= LOWER (A2)'로 작성해야합니다. ”= '또는'+ '기호는 함수를 작성하는 데 사용되며 'LOWER ' 는 함수 이름이고 A2는 대소 문자를 변경하려는 텍스트에 대한 셀 참조입니다.

Enter 키를 누르면이 함수는 텍스트 문자열의 모든 문자를 소문자로 변환합니다.

이제 하나의 값이 변환됩니다. 다른 값의 경우 맨 위 셀이있는 모든 셀을 선택한 후 Ctrl + D를 누르거나 Ctrl + C 및 Ctrl + V를 눌러 함수를 복사하고 붙여 넣을 수 있습니다. 또는 다른 셀의 수식을 끌어서 답을 얻을 수 있습니다.

# 2 VBA 명령 단추 사용

VBA 명령 단추를 만들고 명령 단추를 사용하여 다음 텍스트를 소문자로 변경하는 코드를 할당 할 수 있습니다.

1 단계 : 명령 버튼을 생성하려면 '개발자 탭 Excel''컨트롤' 그룹에서 ' 삽입' 명령을 클릭합니다 . 그리고 '명령 버튼'을 선택하십시오 .

2 단계 : 명령 단추를 표시 할 워크 시트 위치를 클릭합니다. ALT 버튼을 사용하여 명령 버튼의 크기를 조정할 수 있습니다 .

3 단계 : 'Properties' 명령을 사용하여 캡션, 이름, AutoSize, WordWrap 등과 같은 명령 단추의 속성을 변경합니다.

4 단계 : 이제 명령 버튼에 코드를 할당하려면 '개발자''컨트롤' 그룹에서 ' 코드보기' 명령을 클릭합니다. '디자인 모드' 가 활성화되어 있는지 확인 합니다.

5 단계 : 열린 창 에서 드롭 다운 목록에서 'ConvertToLowerCase' 를 선택 하십시오.

6 단계 : 줄 사이에 다음 코드를 붙여 넣습니다.

암호:

 Dim Rng As Range Dim c As Range On Error Resume Next Set Rng = Selection For Each c In Rng c.Value = LCase (c.Value) Next c

7 단계 : Visual Basic 편집기를 종료합니다. 통합 문서에 매크로 가 있으므로 파일이 .xlsm 확장자 로 저장되었는지 확인하십시오 .

8 단계 : '디자인 모드' 비활성화 . 이제 필요한 셀을 선택한 후 명령 버튼을 클릭 할 때마다 값이 소문자로 변환됩니다.

A2 : A10에서 모든 값을 선택하고 명령 버튼을 클릭합니다. 텍스트가 소문자로 변경됩니다.

# 3 VBA 단축키 사용

이 방법은 여기에 명령 단추를 만들 필요가 없다는 점을 제외하고는 위의 방법과 유사합니다.

1 단계 : '개발자' 탭에서 또는 Excel 바로 가기 키 (Alt + F11) 를 사용하여 Visual Basic 편집기를 엽니 다 .

2 단계 : 삽입 메뉴 -> 모듈 명령을 사용하여 모듈을 삽입 합니다.

3 단계 : 다음 코드를 붙여 넣습니다.

 Sub LowerCaseConversion() Dim Rng As Range Dim c As Range On Error Resume Next Set Rng = Selection For Each c In Rng c.Value = LCase(c.Value) Next c End Sub 

Step 4: Save the file using Ctrl+S. Exit the visual basic editor. Make sure the file is saved with .xlsm extension as we have a macro in our workbook.

Step 5: Now choose the ‘Macros’ in ‘Code’ group in the ‘Developer’ tab.

Step 6: Then click on ‘Options’ and assign the shortcut key to the Macro and we can write a description as well.

In our case, we have assigned Ctrl+Shift+L.

Step 7: Macro is ready to use. Now to change the values into lowercase, select the required cells and press Ctrl+Shift+L.

#4 Using Flash Fill

If we establish a pattern by typing the same value in lowercase in the adjacent column, Flash fill feature will fill in the rest for us based on the pattern we provide. Let us understand this with an example.

Example

Suppose, we have the following data which we want to get in lowercase.

To do the same, we need to write the first value of the list in the lower case manually in the adjacent cell.

Come to the next cell in the same column and just press Ctrl+E.

Choose ‘Accept Suggestions’ from the box menu appeared.

That is it. We have all the values in the lower case now. Now we can copy the values, paste the same onto the original list, and delete the extra value from the right.

#5 Enter Text in Lower Case Only

We can make a restriction so that the user can enter text values in lowercase only.

Example

To do this, the steps are:

  • Select the cells which you want to restrict.
  • Choose ‘Data Validation’ from the ‘Data Tools’ group from the ‘Data’ tab.

  • Apply the settings explained in the figure below.

  • Now whenever the user will enter the value in capital letters, MS Excel will stop and will show the following message.

#6 Using Microsoft Word

In Microsoft word unlike Excel, we have a command named ‘Change Case’ in ‘Font’ group in the ‘Home’ tab.

Example

Suppose, we have the following table of data for which we want to change text case to ‘Lower’ Case.

To change the case, first, we will copy the data from MS Excel and paste it into MS Word. To do the same, the steps are:

Select the data from MS Excel. And press Ctrl+C to copy data from MS Excel.

Open the MS Word application and paste the table using the Ctrl+V shortcut key.

Select the table using the ‘Plus’ sign on the left-top side of the table.

Choose ‘Change Case’ command from the ‘Font’ group and select ‘lowercase’ from the list.

Now, the data table is converted to ‘Lower’.  We can just copy the table after selecting the ‘Plus’ sign from the left top corner and paste it into Excel back.

We can delete the old table using the contextual menu, which we can get by right-clicking on the table.

Things to Remember

To convert the values into lower case, if we use the VBA code (Command button or Shortcut key) we need to save the file with .xlsm extension as we have macros in the workbook.