Vlookup summing multiple values in one cell

dbagnell

New Member
Joined
Dec 16, 2014
Messages
7
Hi,

I've searched the archives and though I've found similar issues I haven't been able to figure this one out. I have a list of IDs in column A on worksheet 1. One worksheet 2 I have a vlookup returning modality and length, but in cases where there is more than one modality or length I can't get them concatenated (modality) or summed (length). The summing is the biggest thing I want to solve for, modality will just be a bonus.

I see that I can do this with an array formula, but since I have 648 rows of values I can't use a formula that has {1,2,3,4,5... all the way to 648}. I can't see another way of doing it. I'm not sure if I need to do something with index or match? Can anyone help?

IDMODALITYLENGTH
1001LMS3
1002LMS2
1002LOR5

<tbody>
</tbody>

=vlookup(A2,table1,2,false)
=vlookup(A2,table1,3,false)

Thanks!
 
Last edited:

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
From what I'm understanding, I think SUMIF would take care of your summing for length: =sumif(table1_id_column,a2,table1_length_column)
 
Upvote 0

Forum statistics

Threads
1,215,521
Messages
6,125,305
Members
449,218
Latest member
Excel Master

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