메인 컨텐츠로 가기

Excel의 셀 / 머리글 또는 바닥 글에 파일 이름 또는 경로를 삽입하는 방법은 무엇입니까?

Excel 셀, 머리글 또는 바닥 글에 파일 이름이나 파일 경로를 삽입하려는 경우 어떻게이 작업을 빠르게 수행 할 수 있습니까?

수식을 사용하여 셀에 현재 파일 이름 또는 경로 삽입

머리글 및 바닥 글 기능을 사용하여 머리글 / 바닥 글에 현재 파일 이름 또는 경로 삽입

Excel 용 Kutools를 사용하여 현재 파일 이름 또는 경로를 셀 / 머리글 또는 바닥 글에 삽입하십시오. 좋은 생각 3


화살표 블루 오른쪽 거품 수식을 사용하여 셀에 현재 파일 이름 또는 경로 삽입

다음 수식을 사용하면 특정 셀에 파일 이름이나 경로 또는 시트 이름을 빠르게 삽입 할 수 있습니다.

항목 공식
파일 이름 만 = MID (CELL ( "파일 이름"), SEARCH ( "[", CELL ( "파일 이름")) + 1, SEARCH ( "]", CELL ( "파일 이름"))-SEARCH ( "[", CELL ( "파일 이름 "))-1) 제품 features.xlsx
파일 경로 만 = LEFT (CELL ( "파일 이름", A1), FIND ( "[", CELL ( "파일 이름", A1), 1) -1) C : \ Users \ dt \ Desktop \ New 폴더 \
활성 시트 이름 만 = RIGHT (CELL ( "파일 이름"), LEN (CELL ( "파일 이름"))-FIND ( "]", CELL ( "파일 이름"), 1)) Sheet7
현재 파일 이름, 파일 경로 및 활성 시트 이름 = CELL ( "파일 이름") C : \ Users \ dt \ Desktop \ New folder \ [products features.xlsx] Sheet7

배송 시 요청 사항:

1. 필요한 위의 수식을 지정된 셀에 복사하면 필요한 결과를 얻을 수 있습니다.

2. 열린 통합 문서가 저장되어 있어야합니다.


화살표 블루 오른쪽 거품 머리글 및 바닥 글 기능을 사용하여 머리글 / 바닥 글에 현재 파일 이름 또는 경로 삽입

wotksheet 머리글 또는 바닥 글에 파일 이름이나 파일 경로를 삽입하려면 머리글 및 바닥 글 기능을 사용할 수 있습니다.

1. 리본에서 끼워 넣다 > 머리글 및 바닥 글.

2. 머리글 또는 바닥 글 섹션에 XNUMX 개의 편집 상자가 있습니다. 왼쪽 (left), 센터 or Ringht 파일 이름 또는 경로를 삽입하려는 상자. 그런 다음 디자인 탭에서 파일 경로, 사진이름 or 시트 이름 삽입해야합니다. 스크린 샷보기 :

문서 삽입 파일 이름 경로1

그런 다음 아무 셀이나 클릭하면 파일 경로 또는 이름 또는 시트 이름이 머리글과 바닥 글에 삽입 된 것을 볼 수 있습니다. 스크린 샷보기 :

헤더에 파일 경로 삽입
문서 삽입 파일 이름 경로2
바닥 글에 파일 이름 삽입
문서 삽입 파일 이름 경로3

화살표 블루 오른쪽 거품 Excel 용 Kutools를 사용하여 현재 파일 이름 또는 경로를 셀 / 머리글 또는 바닥 글에 삽입하십시오.

Excel 용 Kutools통합 문서 정보 삽입 는 다양한 기능의 도구로 워크 시트 이름, 통합 문서 이름, 통합 문서 경로 또는 통합 문서 경로 및 이름을 Excel 셀, 머리글 또는 바닥 글에 빠르고 편리하게 삽입 할 수 있도록 도와줍니다.

Excel 용 Kutools, 이상과 300 편리한 기능으로 작업이 더 쉬워집니다. 

설치 후 Excel 용 Kutools는 다음과 같이하십시오 :(지금 Excel 용 Kutools를 무료로 다운로드하십시오!)

1. 딸깍 하는 소리 쿠툴즈 플러스 > 통합 문서 도구 > 통합 문서 정보 삽입, 스크린 샷 참조 :

문서 통합 문서 정보 삽입 3

2. 에서 통합 문서 정보 삽입 대화 상자에서 왼쪽 창에서 삽입 할 통합 문서 정보를 선택한 다음 정보를 삽입 할 위치를 선택합니다. 스크린 샷보기 :

문서 통합 문서 정보 삽입 2

3. 그런 다음 OK. wotkbook 정보를 셀에 삽입하면 다음과 같은 결과가 나타납니다.

문서 삽입 파일 이름 경로6

통합 문서 정보를 머리글 또는 바닥 글에 삽입하면 정보를 삽입 할 위치를 선택할 수 있습니다. 좌회전, 권리 or 센터. 머리글 또는 바닥 글을 미리 볼 수 있습니다. 관측 > 페이지 레이아웃.

이 기능에 대해 자세히 알아 보려면 다음을 방문하십시오. 통합 문서 정보 삽입.

화살표 블루 오른쪽 거품 통합 문서 정보 삽입

팁.n 번째 행마다 여러 개의 빈 행이나 열을 삽입하려면 Excel 용 Kutools를 사용해보십시오. 빈 행 및 열 삽입 다음 스크린 샷에 표시된대로. 60 일 안에 제한없이 모든 기능을 사용할 수 있습니다. 지금 다운로드하여 무료 평가판을 받으십시오.

Excel 범위의 특정 간격으로 빈 행 또는 열 일괄 삽입

다른 모든 행에 빈 행을 삽입하려면 하나씩 삽입해야 할 수 있지만 빈 행 및 열 삽입 of Excel 용 Kutools 이 작업을 몇 초 만에 해결할 수 있습니다. 30 일 무료 평가판을 클릭하십시오!
문서 빈 행 열 삽입
Excel 용 Kutools : 300 개 이상의 편리한 Excel 추가 기능으로 30 일 동안 제한없이 무료로 사용해 볼 수 있습니다.

최고의 사무 생산성 도구

🤖 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
What's the function to display and file path and file name WITHOUT the active sheet name? Example: C:\Users\dt\Desktop\New folder\products features.xlsx
This comment was minimized by the moderator on the site
Hello, Lydeth Chea
To only display the file path and name without the sheet name, please apply the below formua:
=SUBSTITUTE(LEFT(CELL("filename"), FIND("]", CELL("filename"))-1), "[", "")


Please have a try, thank you!
This comment was minimized by the moderator on the site
Is there an automated way to pass the current Excel filename (no file path, no extension) to the current worksheet name?
This comment was minimized by the moderator on the site
Is it possible to turn a file path in an excel print title into a clickable hyperlink? I would like to publish the excel file as a pdf with a clickable hyperlink in the footer.
This comment was minimized by the moderator on the site
Hi I have about 90 workbooks, and in each workbook i have 5 sheets, i want to put in a new column in every sheet across these workbooks to input the year.
This comment was minimized by the moderator on the site
Hi, correct formula for filename without path is: =MID((CELL("filename"));((SEARCH("[";(CELL("filename"))))+1);((SEARCH("]";(CELL("filename"))))-((SEARCH("[";(CELL("filename"))))+1))) (semicolon in MID and SEARCH funtions, and -1 --> +1 at the end) bye
This comment was minimized by the moderator on the site
For filename without extension: =MID(CELL("filename"),SEARCH("[",CELL("filename"))+1,SEARCH("]",CELL("filename"))-SEARCH("[",CELL("filename"))-5)
This comment was minimized by the moderator on the site
This gives an error.
This comment was minimized by the moderator on the site
shouldn't be 6?
This comment was minimized by the moderator on the site
-6 was the correct for me on MS Office 2016 :)
This comment was minimized by the moderator on the site
On mine it works well. However, it finishes with a "." at the end. If you put 6 instead it will return without the ".". It basically works counting the characters which "+1" in the formula is the first character and the "-5" is the amount of characters that are not showing counting from the front. So, if you want to catch only the middle characters eg. (XXXXX from a document named ZZ-YY-WW-XXXXX from a extension .xlsm) you can input as per below:

=MID(CELL("filename"),SEARCH("[",CELL("filename"))+10,SEARCH("]",CELL("filename"))-SEARCH("[",CELL("filename"))-15)
This comment was minimized by the moderator on the site
when i am using this function in excel 1 (this is the filename) , and then i open excel 2, the cell in excel 1 changes from "excel 1" to "excel 2". Please advise, how to prevent this.
This comment was minimized by the moderator on the site
Yes, I am having the same problem, this formula seems to point to a variable that is not tied to the actual spreadsheet of the cell the formula exists in but instead to the currently selected spreadsheet or similar.
This comment was minimized by the moderator on the site
I have the same problem when opening a different excel document. Is there a way to leave the file name with the current file?
This comment was minimized by the moderator on the site
You prolly already found this solution. But I figured I'd add it for any future searchers. :-) Simply add the third option, the "A1" reference, to each of the CELL functions as follows: =CELL("filename",A1) =SUBSTITUTE( LEFT(CELL("filename",A1),FIND("]",CELL("filename",A1))-1),"[","") =MID(CELL("filename",A1),SEARCH("[",CELL("filename",A1))+1, SEARCH("]",CELL("filename",A1))-SEARCH("[",CELL("filename",A1))-1)
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations