VlookUp multiple same value ?

excelNewbie22

Well-known Member
Joined
Aug 4, 2021
Messages
528
Office Version
  1. 365
Platform
  1. Windows
hi!
i'm trying to learn new function (for me),
how can i use vlookup to search all the values with the same name and return the sum of it all?
sample below

Excel-Practice-Data-for-Pivot-Table-1.xlsx
BCDEFGHI
4DateClientRegionMonthYearQuarterAmount230071
515-Jul-2019ABC CorporationSouthJuly2019Q3$1,741,089
619-Jul-2019Bridges CompanyEastJuly2019Q3$514,989
726-Jul-2019Timefall Inc.EastJuly2019Q3$230,071
811-Aug-2019Chiral CorporationNorthAugust2019Q3$1,148,912
915-Aug-2019Titan IndustriesWestAugust2019Q3$405,991
1022-Aug-2019Eagle SecuritySouthAugust2019Q3$191,708
1124-Aug-2019Sol CompanySouthAugust2019Q3$1,757,908
1215-Sep-2019Eagle SecurityEastSeptember2019Q3$1,209,282
1317-Sep-2019Titan IndustriesWestSeptember2019Q3$1,581,662
1416-Oct-2019Titan IndustriesSouthOctober2019Q4$376,043
1525-Oct-2019Timefall Inc.EastOctober2019Q4$1,978,299
165-Nov-2019Timefall Inc.SouthNovember2019Q4$914,785
1719-Nov-2019Timefall Inc.EastNovember2019Q4$1,711,222
1827-Nov-2019Timefall Inc.WestNovember2019Q4$1,257,231
1925-Nov-2019Timefall Inc.SouthNovember2019Q4$407,874
2029-Nov-2019Timefall Inc.NorthNovember2019Q4$589,765
Problem
Cell Formulas
RangeFormula
I4I4=VLOOKUP(C15,C4:H30,6,FALSE)
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
I think you need SUMIF

Book1
ABCDEFGHIJKL
1DateClientRegionMonthYearQuarterAmountLookupTotal
27/15/2019ABC CorporationSouthJuly2019Q31741089Timefall Inc.7,089,247.00
37/19/2019Bridges CompanyEastJuly2019Q3514989
47/26/2019Timefall Inc.EastJuly2019Q3230071
58/11/2019Chiral CorporationNorthAugust2019Q31148912
68/15/2019Titan IndustriesWestAugust2019Q3405991
78/22/2019Eagle SecuritySouthAugust2019Q3191708
88/24/2019Sol CompanySouthAugust2019Q31757908
99/15/2019Eagle SecurityEastSeptember2019Q31209282
109/17/2019Titan IndustriesWestSeptember2019Q31581662
1110/16/2019Titan IndustriesSouthOctober2019Q4376043
1210/25/2019Timefall Inc.EastOctober2019Q41978299
1311/5/2019Timefall Inc.SouthNovember2019Q4914785
1411/19/2019Timefall Inc.EastNovember2019Q41711222
1511/27/2019Timefall Inc.WestNovember2019Q41257231
1611/25/2019Timefall Inc.SouthNovember2019Q4407874
1711/29/2019Timefall Inc.NorthNovember2019Q4589765
18
19
Sheet7
Cell Formulas
RangeFormula
K2K2=SUMIF($B$2:$B$17,J2,$G$2:$G$17)
 
Upvote 0
Solution
thanks Sufiyan97,
(also just watch mrexcel youtube video about sumifs)

and thank you Fluff for clarify that too!
 
Upvote 0
i'd use sumif
Book1
BCDEFGHI
1DateClientRegionMonthYearQuarterAmount7089247
243661ABC CorporationSouthJuly2019Q31741089
343665Bridges CompanyEastJuly2019Q3514989
443672Timefall Inc.EastJuly2019Q3230071
543688Chiral CorporationNorthAugust2019Q31148912
643692Titan IndustriesWestAugust2019Q3405991
743699Eagle SecuritySouthAugust2019Q3191708
843701Sol CompanySouthAugust2019Q31757908
943723Eagle SecurityEastSeptember2019Q31209282
1043725Titan IndustriesWestSeptember2019Q31581662
1143754Titan IndustriesSouthOctober2019Q4376043
1243763Timefall Inc.EastOctober2019Q41978299
1343774Timefall Inc.SouthNovember2019Q4914785
1443788Timefall Inc.EastNovember2019Q41711222
1543796Timefall Inc.WestNovember2019Q41257231
1643794Timefall Inc.SouthNovember2019Q4407874
1743798Timefall Inc.NorthNovember2019Q4589765
Sheet1
Cell Formulas
RangeFormula
I1I1=SUMIF(C2:C17,C12,H2:H17)
 
Upvote 0

Forum statistics

Threads
1,223,214
Messages
6,170,772
Members
452,353
Latest member
strainu

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top