Sum multiple returns on lookup

nvboelens

New Member
Joined
May 7, 2019
Messages
5
Dear all,

I'm having a problem regarding the following: I'm trying to look-up values in a sheet and to return a value that corresponds with that value. For example see the image. For example, A1002 can be done with the INDEX MATCH combination. However, this function only returns one value. If we look to A1003, this function only returns the first value (6), but I want the SUM of both the values (6+1 for A1003 or 7+4 for B2004).



Is there a way to do this within Excel? Let me know, it would save me a ton of work!

Thanks in advance.
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
Still no image. Suggest you approach this in a different manner
 
Upvote 0
but I want the SUM of both the values (6+1 for A1003 or 7+4 for B2004).

Hi, from your description, it sounds like you want the SUMIFS() formula - for example:


Excel 2013/2016
ABCDE
1A10047A10037
2A10029
3A10036
4A10025
5A10031
6A100510
7A10044
Sheet1
Cell Formulas
RangeFormula
E1=SUMIFS(B:B,A:A,D1)
 
Upvote 0
You could upload a copy of your file to a free site such as www.box.com or www.dropbox.com. Once you do that, mark it for 'Sharing' and you will be given a link to the file that you can post here. If the workbook contains confidential information, you could replace it with generic data.

Or simply describe how your data is on the sheet.
You can copy the range of cells and paste here, it will not look like excel but it will give us an idea.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,178
Members
453,021
Latest member
Justyna P

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