메인 컨텐츠로 가기

Excel에서 텍스트 기준에 따라 값을 합산하는 방법은 무엇입니까?

Excel에서 다른 텍스트 기준 열을 기준으로 값을 합산 해 본 적이 있습니까? 예를 들어, 다음 스크린 샷과 같이 워크 시트에 데이터 범위가 있습니다. 이제 A 열의 텍스트 값에 해당하는 B 열의 모든 숫자를 합산하여 특정 기준을 충족합니다. A 열의 셀에는 KTE가 있습니다.

문서 합계 기반 텍스트-1

특정 텍스트가 포함 된 경우 다른 열을 기준으로 값을 더합니다.

특정 텍스트로 시작하는 경우 다른 열을 기준으로 값을 더합니다.

특정 텍스트로 끝나는 경우 다른 열을 기준으로 값을 더합니다.

특정 텍스트 만있는 경우 다른 열을 기준으로 값을 더합니다.


화살표 블루 오른쪽 거품 특정 텍스트가 포함 된 경우 다른 열을 기준으로 값을 더합니다.

예를 들어 위의 데이터를 사용하여 A 열에 "KTE"라는 텍스트가 포함 된 모든 값을 더하기 위해 다음 수식이 도움이 될 수 있습니다.

이 공식을 입력하십시오 = SUMIF (A2 : A6, "* KTE *", B2 : B6) 빈 셀에 넣고 엔터 버튼 키를 누르면 A 열의 해당 셀에 "KTE"라는 텍스트가 포함 된 B 열의 모든 숫자가 합산됩니다. 스크린 샷보기 :

문서 합계 기반 텍스트-2
-1
문서 합계 기반 텍스트-3

: 위의 공식에서 A2 : A6 기준으로 값을 추가하는 데이터 범위입니다. * KTE * 필요한 기준을 나타내며 B2 : B6은 합산하려는 범위입니다.


화살표 블루 오른쪽 거품 특정 텍스트로 시작하는 경우 다른 열을 기준으로 값을 더합니다.

텍스트가 "KTE"로 시작하는 A 열의 해당 셀이있는 B 열의 셀 값을 합산하려면 다음 공식을 적용 할 수 있습니다. = SUMIF (A2 : A6, "KTE *", B2 : B6), 스크린 샷 참조 :

문서 합계 기반 텍스트-4
-1
문서 합계 기반 텍스트-5

: 위의 공식에서 A2 : A6 기준으로 값을 추가하는 데이터 범위입니다. KTE * 필요한 기준을 나타내며 B2 : B6은 합산하려는 범위입니다.


화살표 블루 오른쪽 거품 특정 텍스트로 끝나는 경우 다른 열을 기준으로 값을 더합니다.

텍스트가 "KTE"로 끝나는 A 열의 해당 셀이있는 B 열의 모든 값을 더하려면 다음 수식이 도움이 될 수 있습니다. = SUMIF (A2 : A6, "* KTE", B2 : B6)(A2 : A6 기준으로 값을 추가하는 데이터 범위입니다. KTE * 필요한 기준을 나타내며 B2 : B6 합계하려는 범위입니다) 스크린 샷 참조 :

문서 합계 기반 텍스트-6
-1
문서 합계 기반 텍스트-7

화살표 블루 오른쪽 거품 특정 텍스트 만있는 경우 다른 열을 기준으로 값을 더합니다.

해당 셀 내용 만 A 열의 "KTE"인 B 열의 값을 합산하려면 다음 공식을 사용하세요. = SUMIF (A2 : A6, "KTE", B2 : B6)(A2 : A6 기준으로 값을 추가하는 데이터 범위입니다. KTE 필요한 기준을 나타내며 B2 : B6 합계하려는 범위) A 열의 텍스트 만 "KTE"이며 B 열의 상대 숫자가 합산됩니다. 스크린 샷 참조 :

문서 합계 기반 텍스트-8
-1
문서 합계 기반 텍스트-9

고급 결합 행 :( 중복 행 결합 및 해당 값의 합계 / 평균) :
  • 1. 다른 열을 결합하려는 키 열을 지정하십시오.
  • 2. 결합 된 데이터에 대해 하나의 계산을 선택합니다.

문서-합-열-7-기준-XNUMX

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


관련 기사 :

Excel에서 모든 n 행을 합산하는 방법은 무엇입니까?

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 (22)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
I try already.cause I apply the whole range it's still could not get the total sum. I am used sumif
This comment was minimized by the moderator on the site
i need to reference my sumifs criteria to a specific cell, the cell acts as a filter
EG: =SUMIFS(LV215:LV237,WC7,AB215:AB237) where WC7 is equal to a specific cell is this possible?
This comment was minimized by the moderator on the site
i cannot find this tool. "Combine Rows Based on Column" at the top of the page. i also cannot find info on what is on the free version vs. what is on the paid version. is this on the paid version? if not, where is it? thanks!
This comment was minimized by the moderator on the site
Hello, jenna,
We have moved this feature under the Merge & Split group, please see the below screenshot.
Sorry for this inconvenience.
Please try, thank you!
This comment was minimized by the moderator on the site
I create a dynamic string which contains the cells to sum and pass this string to sum function and it gives me #value error. Any solution to this.
This comment was minimized by the moderator on the site
Hi, Desu,
Could you give your problem more detailed, thank you!
This comment was minimized by the moderator on the site
By the way, I’m using the =SUMIF(A2:A6,"*KTE*",B2:B6) formula, and I want to do more than just the B column (up to column AM).
This comment was minimized by the moderator on the site
Hello, Paige,
For solving your problem, may be there is no simple formula, you should join the SUMIF function together to get the result as you need, for example, you can use the below formula: (you can add other columns data with combining the sumif function)

=SUM(SUMIF(A2:A6,"*kte*",B2:B6), SUMIF(A2:A6,"*kte*",C2:C6), SUMIF(A2:A6,"*kte*",D2:D6))

Please try it, hope it can help you!
This comment was minimized by the moderator on the site
This works but what if I want to use the last part of the formula to cover multiple columns instead of just one?
This comment was minimized by the moderator on the site
how do I use a sumif in the following. If a certain cell contains the values of an substring of data, than sum a nearby column. for example, Cell A1 has (Dan,Tom,Bill,Smith). Then a separate table has Dan - 2, Bill - 3, John - 4. Assuming that is a 2x3 table. I want to create a formula that can sum the Dan and Bill numbers (2+3) because those texts could be found in cell A1. So the total would return 5.
This comment was minimized by the moderator on the site
How do you us sumif formula to with two criteria? For instance, If Column A = X and Column C = C then Sum Column G.
This comment was minimized by the moderator on the site
Hello, Matusiak
To sumif values based on multiple criteria, please view the following screenshot:

Also, you can go to the article https://www.extendoffice.com/documents/excel/2471-excel-sumif-multiple-criteria.html to get your solution.
This comment was minimized by the moderator on the site
Hi, any one here is having an idea of how to calculate value containing in a cell (Or with text?
For Example: in Cell A= MR134 , B= MR143, C = MR187 and result will be like sum of 134+143+187 =?
This comment was minimized by the moderator on the site
I am looking for this solution too.
This comment was minimized by the moderator on the site
Hello, guys,
May be the below array formula can help you: (after typing the formula, please press Ctrl+Shift+Enter together)
=SUM(IF(ISNUMBER(SEARCH("MR",B1:B4)),SUBSTITUTE(B1:B4,"MR",""))+0)
Please change the cell references to your need.
This comment was minimized by the moderator on the site
This is super clear and understandable, thank you so much!!!
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