2D array lookup that can return multiple values

andrewhorne252

New Member
Joined
Jun 27, 2017
Messages
3
Hello,

I have a table of die numbers that correspond to another table of production numbers. I am looking to see if it is possible to automate the summing of the production numbers based on where the die numbers are. I will continue to use this in the future and don't want to have to sum the numbers up manually every time I update the table.

I have looked at multiple examples, but can't find anything like this. I have been trying to find an function that would return an array of numbers, maybe 1's and 0's, that give the location of the die number I am looking for. Then I could use that array to pull the corresponding production numbers.

For example: If i wanted to find the total for die 1E. I would add all of the production numbers in red. I would get 646,326.

I don't know any formula/formula combinations that can pull multiple values out of a 2D array.

Any suggestions? Anything would be greatly appreciated.

Die Positions11/20/20151/21/20164/14/20164/25/20166/20/20168/24/201610/27/20161/20/20173/2/20175/9/2017→ → →
110012110513955171723914258555799993488887251657167This
210184110869957771449914368588299143490407258257209will
310159111117975671268911488639299892490317350757270expand
4101071114649675714179110885226100119494527357757448outward
510207110921959371086909468569099919486667223656662with each
610216111293966671218909268520999556485297219557159die
710115110523961370188909928579499854489217234057477change
810225110877983671394907978521499250491127241957270→ → →

<tbody>
</tbody>

<table class="wysiwyg_dashes wysiwyg_cms_table_grid" verdana,="" arial,="" tahoma,="" calibri,="" geneva,="" sans-serif;"="" width=""><tbody>[TR="class: grid"]
[TD]Die[/TD]
[TD="colspan: 2"]Total Produced / die[/TD]
[/TR]
[TR="class: grid"]
[TD]1E[/TD]
[TD="colspan: 2"]646,326[/TD]
[/TR]
[TR="class: grid"]
[TD]2E[/TD]
[TD="colspan: 2"][/TD]
[/TR]
[TR="class: grid"]
[TD]3E[/TD]
[TD="colspan: 2"][/TD]
[/TR]
[TR="class: grid"]
[TD]4E[/TD]
[TD="colspan: 2"][/TD]
[/TR]
[TR="class: grid"]
[TD]5E[/TD]
[TD="colspan: 2"][/TD]
[/TR]
[TR="class: grid"]
[TD]6E[/TD]
[TD="colspan: 2"][/TD]
[/TR]
[TR="class: grid"]
[TD]7E[/TD]
[TD="colspan: 2"][/TD]
[/TR]
[TR="class: grid"]
[TD]8E[/TD]
[TD="colspan: 2"][/TD]
[/TR]
[TR="class: grid"]
[TD]9E[/TD]
[TD="colspan: 2"][/TD]
[/TR]
[TR="class: grid"]
[TD]1J[/TD]
[TD="colspan: 2"][/TD]
[/TR]
[TR="class: grid"]
[TD]2J[/TD]
[TD="colspan: 2"][/TD]
[/TR]
[TR="class: grid"]
[TD]3J[/TD]
[TD="colspan: 2"][/TD]
[/TR]
[TR="class: grid"]
[TD]4J[/TD]
[TD="colspan: 2"][/TD]
[/TR]
[TR="class: grid"]
[TD]5J[/TD]
[TD="colspan: 2"][/TD]
[/TR]
[TR="class: grid"]
[TD]6J[/TD]
[TD="colspan: 2"][/TD]
[/TR]
[TR="class: grid"]
[TD]7J[/TD]
[TD="colspan: 2"][/TD]
[/TR]
[TR="class: grid"]
[TD]8J[/TD]
[TD="colspan: 2"][/TD]
[/TR]
[TR="class: grid"]
[TD]4F[/TD]
[TD="colspan: 2"][/TD]
[/TR]
[TR="class: grid"]
[TD]5F[/TD]
[TD="colspan: 2"][/TD]
[/TR]
[TR="class: grid"]
[TD]6F[/TD]
[TD="colspan: 2"][/TD]
[/TR]
[TR="class: grid"]
[TD]7F[/TD]
[TD="colspan: 2"][/TD]
[/TR]
[TR="class: grid"]
[TD]8F[/TD]
[TD="colspan: 2"][/TD]
[/TR]
[TR="class: grid"]
[TD]1G[/TD]
[TD="colspan: 2"][/TD]
[/TR]
[TR="class: grid"]
[TD]2G[/TD]
[TD="colspan: 2"][/TD]
[/TR]
[TR="class: grid"]
[TD]3G[/TD]
[TD="colspan: 2"][/TD]
[/TR]
[TR="class: grid"]
[TD]4C[/TD]
[TD="colspan: 2"][/TD]
[/TR]
[TR="class: grid"]
[TD]2F[/TD]
[TD="colspan: 2"][/TD]
[/TR]
</tbody></table>
Here is a link to an image of the data if the data above does not turn out: Imgur: The most awesome images on the Internet

Right now I am going in and summing up the cells by clicking on them.

I am using excel 2010 on windows.

Thank you,
Andrew
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
Here is the data again:
Die Positions11/20/20151/21/20164/14/20164/25/20166/20/20168/24/201610/27/20161/20/20173/2/20175/9/2017 → → →
16E1E1E1E1E1E1E1G2E5JThis
21G3E3E3E3E3E3E3E3E3Ewill
32G6E6E6E6E6E6E4J2G2Gexpand
487E7E3G5F5F8F5F8F6Foutward
53E1G1G7F1G1G1G1E1E1Ewith each
64F4F5E5E5E5E5E5E5E4Cdie
75F5F5F7E7E7E7E7E7E4Echange
87F7F1P1P1P4J4J6E6E8E → → →

<tbody>
</tbody>


Die Positions11/20/20151/21/20164/14/20164/25/20166/20/20168/24/201610/27/20161/20/20173/2/20175/9/2017 → → →
110012110513955171723914258555799993488887251657167This
210184110869957771449914368588299143490407258257209will
310159111117975671268911488639299892490317350757270expand
4101071114649675714179110885226100119494527357757448outward
510207110921959371086909468569099919486667223656662with each
610216111293966671218909268520999556485297219557159die
710115110523961370188909928579499854489217234057477change
810225110877983671394907978521499250491127241957270 → → →

<tbody>
</tbody>


DieTotal Produced / die
1E
2E
3E
4E
5E
6E
7E
8E
9E
1J
2J
3J
4J
5J
6J
7J
8J
4F
5F
6F
7F
8F
1G
2G
3G
4C
2F

<tbody>
</tbody>

Thanks,
Andrew
 
Upvote 0
Try SUMPRODUCT function.
Excel Workbook
ABCDE
1
21e6t8i1e
3i86y1eg7
48ip08i1e
5
61234
75678
89101112
9
10itemsum
111e24
128i23
Sheet
 
Upvote 0

Forum statistics

Threads
1,214,915
Messages
6,122,217
Members
449,074
Latest member
cancansova

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