Help wiht multiple lookup criteria from different ranges - (Google Sheets)

sheeeets

New Member
Joined
Jul 7, 2015
Messages
3
Hi,

Just finalasing some data from stocktake...

We have large products which some products have multiple cartons per item.... up to 28 cartons to make up on product.

We have about 3000 unique locations which are being counted.

About 1800 unique SKU in total.

I am now trying to pull in a SUM of the total for each carton for each product so I can see what products are missing cartons so we are physically seperate.

I am struggling trying to get the formulas to search for SKU and CARTON and then total the QTY... this is coming from multiple sources as there 3000 locations with each location can have up to 20x counts (eg "WIDGET - Carton 2 of 2 - Qty = 3") in the spreadsheet.

Any help would be amazing.

Below I have included a sample of the source data... and sample of an ideal layout in a seperate sheet.

Also note that the solution MUST be able to work in google docs as many people working on this at once.

Thanks again for any help.

Cheers










LOCATION ID1st SKU / Carton NumberCartonQTY 12nd SKU / Carton NumberCartonQTY 23rd SKU / Carton NumberCartonQTY 34th SKU / Carton NumberCartonQTY 45th SKU / Carton NumberCartonQTY 56th SKU / Carton NumberCartonQTY 6
CONTAINER - 01F-SM



1



45







































CONTAINER - 02F-FID







46







































CONTAINER - 03VF-RFT15-BF







132







































CONTAINER - 04VF-RFT15-GF







1320







































CONTAINER - 05F-SQUAT



1



30F-SQUAT



2



29































CONTAINER - 06















































CONTAINER - 07LFAT3SG







11LFPACFIB







2































CONTAINER - 08















































CONTAINER - 09VF-RFT15-RF







1188







































CONTAINER - 10















































CONTAINER - 11V-V1200







32







































CONTAINER - 12















































CONTAINER - 13V-V1000







20







































CONTAINER - 14















































CONTAINER - 15AS-AssaultB







14







































CONTAINER - 16















































CONTAINER - 17GSLED







17







































CONTAINER - 18















































CONTAINER - 19V-V1000







32







































CONTAINER - 20LFPHCT



1



3LFPHCT



1



3LFPAOIB



1



1LFPAOIB



2



1LFPAOIB



3



1







CONTAINER - 21VF-RFT15-RF







330








































<colgroup><col style="width: 128px"><col width="171"><col width="52"><col width="58"><col width="16"><col width="171"><col width="52"><col width="58"><col width="16"><col width="171"><col width="52"><col width="58"><col width="16"><col width="171"><col width="52"><col width="58"><col width="16"><col width="171"><col width="52"><col width="58"><col width="15"><col width="171"><col width="52"><col width="58"></colgroup><tbody>
</tbody>



ItemCARTON 1CARTON 2CARTON 3CARTON 4CARTON 5CARTON 6CARTON 7CARTON 8CARTON 9CARTON 10
2-475
24341
46-140
500S4
5050973705-14
510S4
53085
550
5520
6-563-2
6SILSP
7OB-HT
8MMSL

<colgroup><col style="width: 132px"><col width="73"><col width="107"><col width="66"><col width="120"><col width="120"><col width="120"><col width="120"><col width="120"><col width="120"><col width="120"></colgroup><tbody>
</tbody>
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
Hi,

Formula I have which works is:
============
=SUMIFS(wha1q,wha1s,$A3,wha1c,C$2)+SUMIFS(wha2q,wha2s,$A3,wha2c,C$2)+SUMIFS(wha3q,wha3s,$A3,wha3c,C$2)+SUMIFS(wha4q,wha4s,$A3,wha4c,C$2)+SUMIFS(wha5q,wha5s,$A3,wha5c,C$2)+SUMIFS(wha6q,wha6s,$A3,wha6c,C$2)+SUMIFS(wha7q,wha7s,$A3,wha7c,C$2)+SUMIFS(wha8q,wha8s,$A3,wha8c,C$2)+SUMIFS(wha9q,wha9s,$A3,wha9c,C$2)+SUMIFS(wha10q,wha10s,$A3,wha10c,C$2)+SUMIFS(conta1q,conta1s,$A3,conta1c,C$2)+SUMIFS(conta2q,conta2s,$A3,conta2c,C$2)+SUMIFS(conta3q,conta3s,$A3,conta3c,C$2)+SUMIFS(conta4q,conta4s,$A3,conta4c,C$2)+SUMIFS(conta5q,conta5s,$A3,conta5c,C$2)+SUMIFS(conta6q,conta6s,$A3,conta6c,C$2)+SUMIFS(conta7q,conta7s,$A3,conta7c,C$2)+SUMIFS(conta8q,conta8s,$A3,conta8c,C$2)+SUMIFS(conta9q,conta9s,$A3,conta9c,C$2)+SUMIFS(conta10q,conta10s,$A3,conta10c,C$2)
===========

It is ugly, and very slow to process.

Any suggestions to improve? Eg perhaps with a SUMIF - INDEX MATCH?

Tanks
Dave
 
Upvote 0

Forum statistics

Threads
1,216,075
Messages
6,128,665
Members
449,462
Latest member
Chislobog

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