메인 컨텐츠로 가기

셀의 텍스트 문자열에서 첫 번째 / 마지막 단어를 제거하는 방법은 무엇입니까?

워크 시트에 텍스트 문자열 열이 있고 다음 스크린 샷과 같이 셀의 텍스트 문자열에서 첫 번째 또는 마지막 단어를 제거해야하는 경우. Excel은 직접적인 방법을 제공하지 않지만이 자습서에서 보여주는 다음 공식을 사용하면이 문제가 곧 해결 될 것입니다.

문서 제거-첫 번째 단어-1

수식이있는 텍스트 문자열에서 첫 번째 또는 마지막 단어 제거


화살표 블루 오른쪽 거품 수식이있는 텍스트 문자열에서 첫 번째 또는 마지막 단어 제거

다음 공식은 텍스트 셀에서 첫 번째 또는 마지막 단어를 삭제하는 데 도움이 될 수 있습니다. 다음과 같이하십시오.

텍스트 문자열에서 첫 번째 단어를 제거합니다.

1. 결과를 입력 할 빈 셀에이 수식을 입력하십시오. = RIGHT (A2, LEN (A2) -FIND ( "", A2)) (A2 첫 번째 단어를 제거하려는 텍스트 문자열이있는 셀), 스크린 샷 참조 :

문서 제거-첫 번째 단어-2

2. 그런 다음 채우기 핸들을이 수식을 적용하려는 범위로 드래그하면 첫 번째 단어가 셀에서 제거되었습니다. 스크린 샷을 참조하십시오.

문서 제거-첫 번째 단어-3

텍스트 문자열에서 마지막 단어 제거 :

셀에서 마지막 단어를 제거하려면 다음 수식을 복사하여 붙여 넣으십시오. =LEFT(TRIM(A2),FIND("~",SUBSTITUTE(A2," ","~",LEN(TRIM(A2))-LEN(SUBSTITUTE(TRIM(A2)," ",""))))-1)을 클릭 한 다음 채우기 핸들을이 수식을 포함 할 범위로 드래그하면 마지막 단어가 모두 셀에서 삭제됩니다. 스크린 샷보기 :

문서 제거-첫 번째 단어-4


특정 구분 기호를 사용하여 셀 값을 여러 열과 행으로 분할합니다.

Excel 용 Kutools셀 분할 유틸리티를 사용하면 셀의 텍스트 문자열을 공백, 쉼표, 새 줄 및 지정한 기타 구분 기호별로 여러 열 또는 행으로 빠르게 분할 할 수 있습니다.

문서 분할 셀 -1 1

Excel 용 Kutools: 300 개 이상의 편리한 Excel 추가 기능으로 30 일 동안 제한없이 무료로 사용해 볼 수 있습니다. 지금 다운로드 및 무료 평가판!


관련 기사 :

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 (17)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Thank you so much!!
This comment was minimized by the moderator on the site
You're amazing!!
This comment was minimized by the moderator on the site
Hey, please assist me.



i have this: FPJCRTXCB540AS_CRG116



How do i keep the word before underscore, but remove the word after underscore?



tested and change to relevant cell but it shows "#value!". i just want it to be like this: FPJCRTXCB540AS
This comment was minimized by the moderator on the site
Hello,
To remove all text after the underscore, please apply the following formula:
=LEFT(A1, FIND("_", A1&"_")-1)

Please try, hope it can help you!
This comment was minimized by the moderator on the site
Hey, please assist me.

i have this: FPJCRTXCB540AS_CRG116

How do i keep the word before underscore, but remove the word after underscore?

tested and change to relevant cell but it shows "#value!". i just want it to be like this: FPJCRTXCB540AS
This comment was minimized by the moderator on the site
Thank you so much for sharing the formula, very helpful!
This comment was minimized by the moderator on the site
Retention Payable - Tooba Aluminium & Glass Works. L.L.C

I want to remove (retention payable - ) from the above sentence

what I will do I want to save my time
This comment was minimized by the moderator on the site
Just do find and replace if you just want to remove the same word from the sheet
saves time
This comment was minimized by the moderator on the site
Hello, Muhammad,
To solve your problem, please apply the following formula:

=MID(A1,1+FIND("~",SUBSTITUTE(A1," ","~",3)),255)

Please try it, hope it can help you!
This comment was minimized by the moderator on the site
I have two strings, one works fine removing the last word (the file size) but one does not (I think due to double space in the string.)

=LEFT(TRIM(A2),FIND("~",SUBSTITUTE(A2," ","~",LEN(TRIM(A2))-LEN(SUBSTITUTE(TRIM(A2)," ",""))))-1)

Cell A2 contents: D:\Sowdeswari\BIO-LAB-DSM-03\03-Jan-2019\Config\SecEvent.Evt 01/01/2019 5963776
Result: D:\Sowdeswari\BIO-LAB-DSM-03\03-Jan-2019\Config\SecEvent.Evt 01/01/2019 (This is correct)

Cell A2 contents: D:\laptop_swap\win_account\Desktop\ !!!Docs\FORM-00538.pdf 18/01/2018 298032
Result: D:\laptop_swap\win_account\Desktop\ !!!Docs\FORM-00538.pdf (this is not correct, but works when I remove one of the spaces before the "!!!" in the string)

All help appreciated. It's a large file and there are a few errors but if I can fix this I can probably work out the other ones.
This comment was minimized by the moderator on the site
Wow, thank you, worked perfectly and saved a lot of time.
This comment was minimized by the moderator on the site
hello
may i ask you how to separate using formula the 4-digit numbers?
1234 · Bike:5678 · Tires Improvement; :6767
This comment was minimized by the moderator on the site
AMINODDIN MAMONDIONG/HASSANA AMPUAN <<--- i want to separate this two names damn! let me try
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