메인 컨텐츠로 가기

Excel에서 행 또는 열의 일치 항목을 vlookup하고 합계하는 방법은 무엇입니까?

vlookup 및 sum 함수를 사용하면 지정된 기준을 빠르게 찾고 동시에 해당 값을 합산 할 수 있습니다. 이 기사에서는 Excel의 행 또는 열에서 일치하는 첫 번째 또는 모든 값을 vlookup하고 합계하는 두 가지 방법을 보여줍니다.

수식이있는 한 행 또는 여러 행의 Vlookup 및 합계 일치
수식이있는 열의 Vlookup 및 합계 일치
놀라운 도구를 사용하여 행 또는 열의 일치 항목을 쉽게 vlookup 및 합산

VLOOKUP에 대한 추가 자습서 ...


수식이있는 한 행 또는 여러 행의 Vlookup 및 합계 일치

이 섹션의 수식은 Excel의 특정 기준을 기반으로 한 행 또는 여러 행의 첫 번째 또는 모든 일치 값을 합산하는 데 도움이 될 수 있습니다. 다음과 같이하십시오.

Vlookup 및 행의 첫 번째 일치 값 합계

아래 스크린 샷과 같이 fruits 테이블이 있고 테이블에서 첫 번째 Apple을 조회 한 다음 동일한 행에서 해당하는 모든 값을 합산해야한다고 가정합니다. 이를 위해 다음과 같이하십시오.

1. 결과를 출력 할 빈 셀을 선택합니다. 여기서는 B10 셀을 선택합니다. 아래 공식을 복사하고 Ctrl 키 + 변화 + 엔터 버튼 결과를 얻는 열쇠.

=SUM(VLOOKUP(A10, $A$2:$F$7, {2,3,4,5,6}, FALSE))

배송 시 요청 사항:

  • A10 찾고있는 값을 포함하는 셀입니다.
  • $ A $ 2 : $ F $ 7 조회 값과 일치 값을 포함하는 데이터 테이블 범위 (헤더 없음)입니다.
  • 숫자 2,3,4,5,6 {{}} 결과 값 열이 두 번째 열에서 시작하여 테이블의 여섯 번째 열로 끝남을 나타냅니다. 결과 열 수가 6 개 이상인 경우 {2,3,4,5,6}을 {2,3,4,5,6,7,8,9….}로 변경하십시오.
Vlookup 및 여러 행의 모든 ​​일치 값 합계

위의 수식은 첫 번째로 일치하는 값에 대한 행의 값만 합산 할 수 있습니다. 여러 행에서 모든 일치 항목의 합계를 반환하려면 다음과 같이하십시오.

1. 빈 셀 (이 경우 셀 B10 선택)을 선택하고 아래 수식을 복사 한 다음 엔터 버튼 결과를 얻으려면 키.

=SUMPRODUCT((A2:A7=A10)*B2:F7)

Excel의 행 또는 열에서 쉽게 vlookup 및 합계 일치 :

XNUMXD덴탈의 LOOKUP 및 합계 ~의 유용성 Excel 용 Kutools 아래 데모와 같이 Excel에서 행 또는 열의 일치 항목을 빠르게 vlookup하고 합계하는 데 도움이 될 수 있습니다.
지금 Excel 용 Kutools의 모든 기능을 제공하는 30 일 무료 트레일을 다운로드하십시오!


수식이있는 열의 Vlookup 및 합계 일치 값

이 섹션에서는 특정 기준에 따라 Excel에서 열의 합계를 반환하는 수식을 제공합니다. 아래 스크린 샷과 같이 과일 테이블에서 열 제목 "Jan"을 찾은 다음 전체 열 값을 합산합니다. 다음과 같이하십시오.

1. 빈 셀을 선택하고 아래 수식을 복사 한 후 엔터 버튼 결과를 얻으려면 키.

=SUM(INDEX(B2:F7,0,MATCH(A10,B1:F1,0)))


놀라운 도구를 사용하여 행 또는 열의 일치 항목을 쉽게 vlookup 및 합산

당신이 공식 적용에 능숙하지 않다면, 여기에서 당신에게 추천합니다 Vlookup 및 Sum 특징 Excel 용 Kutools. 이 기능을 사용하면 클릭만으로 행 또는 열의 일치 항목을 쉽게 조회하고 합계 할 수 있습니다.

신청하기 전에 Excel 용 Kutools, 제발 먼저 다운로드하여 설치하십시오..

Vlookup 및 한 행 또는 여러 행의 첫 번째 또는 모든 일치 값 합계

1. 클릭 쿠툴 > 슈퍼 조회 > LOOKUP 및 합계 기능을 활성화합니다. 스크린 샷보기 :

2. 에서 LOOKUP 및 합계 대화 상자에서 다음과 같이 구성하십시오.

  • 2.1)에서 조회 및 합계 유형 섹션에서 행에서 일치하는 값 조회 및 합계 선택권;
  • 2.2)에서 값 조회 상자에서 찾고있는 값이 포함 된 셀을 선택하십시오.
  • 2.3)에서 출력 범위 상자에서 결과를 출력 할 셀을 선택하십시오.
  • 2.4)에서 데이터 테이블 범위 상자에서 열 머리글이없는 테이블 범위를 선택합니다.
  • 2.5)에서 옵션 섹션에서 첫 번째 일치 항목에 대해서만 값을 합산하려면 첫 번째 일치 값의 합계를 반환합니다. 선택권. 모든 일치에 대한 값을 합산하려면 모든 일치 값의 합계를 반환합니다. 선택권;
  • 2.6) 클릭 OK 버튼을 누르면 즉시 결과를 얻을 수 있습니다. 스크린 샷보기 :

주의 사항: 열 또는 여러 열에서 첫 번째 또는 모든 일치 값을 vlookup하고 합계하려면 다음을 확인하십시오. 열에서 일치하는 값 조회 및 합계 대화 상자에서 옵션을 선택한 다음 아래 스크린 샷과 같이 구성하십시오.

이 기능에 대한 자세한 내용은 여기를 클릭하십시오.

  이 유틸리티의 무료 평가판 (30 일)을 받으려면 그것을 다운로드하려면 클릭하십시오을 클릭 한 다음 위 단계에 따라 작업 적용으로 이동합니다.


관련 기사

여러 워크 시트의 Vlookup 값
vlookup 함수를 적용하여 워크 시트의 테이블에 일치하는 값을 반환 할 수 있습니다. 그러나 여러 워크 시트에서 값을 vlookup해야하는 경우 어떻게 할 수 있습니까? 이 문서에서는 문제를 쉽게 해결하는 데 도움이되는 자세한 단계를 제공합니다.

Vlookup 및 여러 열에서 일치하는 값 반환
일반적으로 Vlookup 함수를 적용하면 한 열에서 일치하는 값만 반환 할 수 있습니다. 경우에 따라 기준에 따라 여러 열에서 일치하는 값을 추출해야 할 수 있습니다. 여기에 해결책이 있습니다.

하나의 셀에 여러 값을 반환하는 Vlookup
일반적으로 VLOOKUP 함수를 적용 할 때 기준과 일치하는 값이 여러 개 있으면 첫 번째 결과 만 얻을 수 있습니다. 일치하는 모든 결과를 반환하고 단일 셀에 모두 표시하려면 어떻게 할 수 있습니까?

Vlookup 및 일치 값의 전체 행 반환
일반적으로 vlookup 함수를 사용하면 같은 행에있는 특정 열의 결과 만 반환 할 수 있습니다. 이 문서에서는 특정 기준에 따라 전체 데이터 행을 반환하는 방법을 보여줍니다.

뒤로 Vlookup 또는 역순
일반적으로 VLOOKUP 함수는 배열 테이블에서 왼쪽에서 오른쪽으로 값을 검색하며 조회 값이 대상 값의 왼쪽에 있어야합니다. 그러나 때로는 목표 값을 알고 역으로 조회 값을 찾고 싶을 수 있습니다. 따라서 Excel에서 역방향으로 vlookup해야합니다. 이 기사에서는이 문제를 쉽게 처리 할 수있는 몇 가지 방법이 있습니다!

VLOOKUP에 대한 추가 자습서 ...

최고의 사무 생산성 도구

🤖 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 (26)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
I need help with a formula. I have 2 sheets to pull data from and calculate the sum of on column with a match to a name.
I.e Name is in sheet 1 D5, the name in sheet 2 is B3 the amounts to calculate which match the name in B3 in sheet 2 is F3 to F32.
I've tried sum index, vlookup, match and so on but keep getting a 0. Can anyone assist with this?
This comment was minimized by the moderator on the site
Hi Marnel Strydom,
I don't know if I understand you correctly: If the name in D5 of Sheet1 matches the name in B3 of Sheet2, then sum numbers in the range F3:F32 of Sheet2.
If so, you can apply the following formula to get it done.
=SUM(INDEX(Sheet2!F3:F32,0,MATCH(Sheet1!D5,Sheet2!B3,0)))
This comment was minimized by the moderator on the site
I have a multi sheet spread sheet keeping track of job hours. I have used VLOOKUP in succession to sum all the hours on multiple sheets and it works great... Until it gets to a sheet that does not contain the lookup value. I have searched all over for my issue, and VLOOKUP may be the incorrect solution. I was wondering if I could rattle anyone's brain to make this work.

I.E. I have 1 excel document with 52 tabs. Each tab is a work week starting from January so WW1 is all the hours FOR sed jobs I did for that week. "joes house 2 hours ; mikes house 3 hours"... WW2, WW3 etc... Until WW52.

This is the function I made to add hours together...

=SUM(VLOOKUP(O30,'WW29'!$A$7:$M$110,{13},FALSE),VLOOKUP(O30,'WW30'!$A$7:$M$110,{13},FALSE),VLOOKUP(O30,'WW31'!$A$7:$M$110,{13},FALSE)) And it works great. But when that job is finished it is not on (for example WW32 tab). Hence I get the #N/A error. so for example, as the previous one works great when I expand the formula to cover all 52 sheets... (EXAMPLE OF NEXT PAGE WIOTHOUT LOOKUP VALUE)

=SUM(VLOOKUP(O30,'WW29'!$A$7:$M$110,{13},FALSE),VLOOKUP(O30,'WW30'!$A$7:$M$110,{13},FALSE),VLOOKUP(O30,'WW31'!$A$7:$M$110,{13},FALSE),VLOOKUP(O30,'WW32'!$A$7:$M$110,{13},FALSE)) I get the #N/A error because the job is not listed on WW32. But I may add hours to that on WW45.

Is there a way to make VLOOKUP skip a sheet that does not have the referenced value and continue summing it till the end? I apologize, this may be as clear as mud but I will clarify anything if need be.

I have also tried IFERROR. You can set IFERROR to return text or even blanks, but does not seem to cover summing. I'm looking for how to SUM multiple sheets when some of the sheets do not contain the lookup value. When using IFERROR function, instead of RETURNING #N/A it just returns "YOU'VE ENTERERED TOO MANY ARGUMENTS FOR THIS FUNCTION"...

=IFERROR(VLOOKUP(O30,'WW29'!$A$7:$M$110,{13},FALSE),VLOOKUP(O30,'WW30'!$A$7:$M$110,{13},FALSE),VLOOKUP(O30,'WW31'!$A$7:$M$110,{13},FALSE),VLOOKUP(O30,'WW32'!$A$7:$M$110,{13},FALSE),"")

And that's just 3 sheets.

Any help would be greatly appreciated.

P.S. I have tried with CTRL+SHIFT+ENTER as well to no avail.
This comment was minimized by the moderator on the site
Hi Joe,
The methods provided in the following article can do you a favor. Please give it a try. Hope I can help.
How To Vlookup Across Multiple Sheets And Sum Results In Excel?
This comment was minimized by the moderator on the site
A B C D E F
1 I want this cells in col B to sum the values in col F7 (today) to say F20. this will reduce as tomorrow it will sum the values from F8:F20 and so on -$19 I
want this cells in column B to sum the values in col F7 (today) to say F10.
this will reduce as tomorrow it will sum the values from F8:F10 and so on

2 Fri 22 Jul 22 -$19
3 Sat 23 Jul 22 -$19
4 Sun 24 Jul 22 -$19
5 Mon 25 Jul 22 -$19
6 Tue 26 Jul 22 -$19
7 Wed 27 Jul 22 -$19 tried with vlookup, needless to say it doesn't work
8 Thu 28 Jul 22 -$19 =L8=(D1-E1)+SUM(vlookup(today(),6,false):F28)
9 Fri 29 Jul 22 -$19
10 Sat 30 Jul 22 -$19
11 Sun 31 Jul 22 -$19
12 Mon 01 Aug 22 -$19
13 Tue 02 Aug 22 -$19
14 Wed 03 Aug 22 -$19
15 Thu 04 Aug 22 -$19
This comment was minimized by the moderator on the site
hi
How can I add multiple vlookups together and sum it up ?


=VLOOKUP(E3,'Waste Process NEW'!N:O,2,FALSE) --------------- for this everything goes fine except that retune valve is only the first one where N column have many values match's lookup values of E3.


using index didn't help and shows #N/A
=SUM(INDEX('Waste Process NEW'!N:N,0,MATCH('Monthly Report'!H5,'Waste Process NEW'!1:1048576,0)))
This comment was minimized by the moderator on the site
Hi tariq,
Would you mind providing a screenshot of your data? Sorry for the inconvenience.
This comment was minimized by the moderator on the site
I just get a #VALUE! when I try to do all matched values, but it works for the first value. Any idea?
This comment was minimized by the moderator on the site
How can I add multiple vlookups together, for example I want to look up from your example Apples + oranges + bananas for January.Is there a way to do this?
This comment was minimized by the moderator on the site
I'm having trouble with a similar formula I feel like I need to use an index but can't figure it out. I'm trying to get the sum but the lookup is based on 2 values. Column D which contains an employee's extension and column I which provides a logout code. The goal is to find the sum of time in column K based on a specific employee (column D) and the logout code (column I).
This comment was minimized by the moderator on the site
Hi Mike,
Do you mind uploading a screenshot of your data?
This comment was minimized by the moderator on the site
Thanks but I was able to get my formula up and running with a sumifs calculation. Sumifs giving the sum of something based on multiple factors. Mine being an employee ID number and a status code.
This comment was minimized by the moderator on the site
what will be the formula to add qty of apple in jan only
This comment was minimized by the moderator on the site
the =SUM(PRODUCT((A2:A7=A11)*B2:I7) is not working with decimal point.
This comment was minimized by the moderator on the site
For me works just fine. Try without separating SUM and Product, it should be =SUMPRODUCT((A2:A7=A11)*B2:I7)
This comment was minimized by the moderator on the site
can one sum things up in a column and not a row?
This comment was minimized by the moderator on the site
Hi Jelly,
This formula =SUM(INDEX(B2:F9,0,MATCH(A12,B1:F1,0))) can help you solve the problem. Please have a try. Hope I can help.
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