메인 컨텐츠로 가기

 행이나 열에서 첫 번째 / 마지막 비어 있지 않은 셀을 반환하는 방법은 무엇입니까?

워크 시트로 작업 할 때 경우에 따라 행 또는 열의 첫 번째 또는 마지막 비어 있지 않은 셀 값을 가져오고 싶을 수 있습니다. 행이나 열에 데이터가 적 으면 값을 쉽게 얻을 수 있지만 긴 열이나 행에 데이터를 반환하는 것은 힘든 작업입니다. 여기에서이 일을 해결하는 몇 가지 유용한 방법에 대해 이야기 할 수 있습니다.

수식을 사용하여 행 또는 열에서 비어 있지 않은 첫 번째 셀을 반환합니다.

수식을 사용하여 행 또는 열의 마지막 비어 있지 않은 셀을 반환합니다.


화살표 블루 오른쪽 거품 수식을 사용하여 행 또는 열에서 비어 있지 않은 첫 번째 셀을 반환합니다.

데이터가있는 첫 번째 셀을 추출하려면 다음 공식을 적용하십시오.

1. 데이터 외에 빈 셀에 다음 수식을 입력합니다. =INDEX(A1:A13,MATCH(TRUE,INDEX((A1:A13<>0),0),0)), 스크린 샷 참조 :

문서-반환-첫 번째-데이터-셀-1

2. 그런 다음 엔터 버튼 키를 누르면 다음과 같이 비어 있지 않은 첫 번째 셀 값이 표시됩니다.

문서-반환-첫 번째-데이터-셀-1

배송 시 요청 사항:

1. 위의 공식에서 A1 : A13 사용하려는 열 범위이며 필요에 따라 변경할 수 있습니다. 이 수식을 적용하여 행에서 비어 있지 않은 첫 번째 셀 값을 가져올 수도 있습니다. 열 범위를 행 범위로 변경하기 만하면됩니다.

2.이 수식은 단일 행 또는 단일 열에서만 올바르게 작동합니다.


화살표 블루 오른쪽 거품 수식을 사용하여 행 또는 열의 마지막 비어 있지 않은 셀을 반환합니다.

비어 있지 않은 마지막 셀 값을 반환하려는 경우 다음 수식이 도움이 될 수 있습니다.

1. 이 수식 입력 =LOOKUP(2,1/(A1:A13<>""),A1:A13) 데이터 외에 빈 셀에 넣으려면 스크린 샷을 참조하십시오.

문서-반환-첫 번째-데이터-셀-1

2. 그런 다음 엔터 버튼 키를 누르면 비어 있지 않은 마지막 셀 값이 한 번에 추출됩니다. 스크린 샷보기 :

문서-반환-첫 번째-데이터-셀-1

배송 시 요청 사항:

1. 위의 공식에서 A1 : A13 사용하려는 열 범위이며 필요에 따라 변경할 수 있습니다. 이 수식을 적용하여 행에서 비어 있지 않은 마지막 셀 값을 가져올 수도 있습니다. 열 범위를 행 범위로 변경하기 만하면됩니다.

2. 위의 공식은 단일 행 또는 단일 열에서만 올바르게 작동합니다.

최고의 사무 생산성 도구

🤖 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 (31)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
How do i use this formula to return the columns header of the first cell with a value >0 ?
This comment was minimized by the moderator on the site
Hello, Tom,
To solve your problem, please apply the below formula:
=INDEX($B$1:$H$1,MATCH(TRUE,$B2:$H2>0,0))
https://www.extendoffice.com/images/stories/comments/comment-skyyang/doc-return-column-headers.png

Please have a try, hope it can help you!
This comment was minimized by the moderator on the site
Como faço para obter o menor valor de um intervalo, onde pode haver células em branco ?
This comment was minimized by the moderator on the site
Thank you so much for your content! I don't know what I'm doing wrong but I can't seem to be able to do this (in Google sheets) :

I need to fill H1 with the value from the first non-empty cell from C1 to G1. Then I need to copy this for all next rows (H2, H3, H4 etc)

Thanking you in advance for your time, it would be very appreciated :)
This comment was minimized by the moderator on the site
Hi, Marissa,
If you want to get the first non blank value from a row in Google sheets, please apply any one of the following formulas:

=QUERY(transpose(C1:G1),"Select Col1 where Col1 is not null limit 1",0)
=index(C1:G1,MATCH(FALSE,ISBLANK(C1:G1),0))

Please try, hope it can help you!
This comment was minimized by the moderator on the site
Perfect answer. Have been looking for this for quite some time. Thank you!
This comment was minimized by the moderator on the site
Hi
I want to return the first non blank cell in a row but rather that with
information in top cell of the fist nin blank cell.
This comment was minimized by the moderator on the site
It works to find last non blank cell that has more than 255 characters, also. Helpful for me to solve issue.
Thanks a lot !
This comment was minimized by the moderator on the site
A1:A13<>0 returns an array of value that are either true or false
all values that are not 0 (eg <>0) in A1:A13 become true, and all else become false
So now you can look up the first 'true' in that array and use it to index
This comment was minimized by the moderator on the site
What does "INDEX((A1:A13<>0)" mean? The first parameter to INDEX is the set of cells A1 through A13 but with a test for not equal to zero appended. I can't find any explanation of this.
This comment was minimized by the moderator on the site
Hi can someone helpme on this,

I have a csv file or maybe a excel which has n number of data's in it from which i need few collective data's using formulas which should be automatic,and i need the output to be in a table form.can please anyone helpme on this??
This comment was minimized by the moderator on the site
I would really love to know why ,1/([RANGE]<>0) works :(
This comment was minimized by the moderator on the site
How To Return The Last Non Blank Cell from some selected cells In A Row
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