Lookup with multiple results that then need to total

jtrethowan

New Member
Joined
Mar 29, 2022
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Could be a very unusual combinations as can't seem to find answer with vlookup, index, and filter but not what i wanted.

I have a table of data to source from, each line is an occasion and each delay can be broken down into up to 3 code.
Source.
1648555847081.png


The output I am looking for is then a table which will show the total number of mins from each delay code. e.g. code 32 in the example has ttl of 57 mins. I would then repeat for the other codes 93 etc. I have this table on a separate sheet.

Results
1648556479229.png


Thanks for any help in advance.
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
this should return what you are looking for:
-------------------------------
Book1
ABCDEFGHIJ
1TTL Delay MinsCode S1Mins S1Code S2Mins S2Code S3Mins S3CodeTotal Mins
23257
352324293103547
435321587204710
58745
6-29345
7
8308725935
9
104735279320
11
123035209310
13
1457
15
16304710
17
Sheet1
Cell Formulas
RangeFormula
J2:J6J2=SUMIF(Table1[[Code S1]:[Mins S3]],I2,Table1[Mins S1])
 
Upvote 0
Solution

Forum statistics

Threads
1,215,429
Messages
6,124,835
Members
449,192
Latest member
mcgeeaudrey

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