Referencing multiple cells to return information that is contained in the same column

fmoaveni

New Member
Joined
Nov 23, 2015
Messages
38
Hello everyone,
I have an excel sheet I have created. I am using Microsoft excel 2013.

I have two sheets on this excel

Data and Pivot are the two sheet names.

On the data sheet I have 12 columns and from these I am making a pivot table on the "Pivot" sheet. Next to that table I have created several cells with formulas that find the lowest start time and the highest start time.

The start times are tied to orders that are being picked within a warehouse.

Here is an example from column A to column L on the DATA Page. You can see there are two pickers picking the same warehouse order.

Warehouse OrderWarehouse TaskActivity AreaStart DateStart TimeWarehouse Task StatusDest. Handling UnitAct.Qty Dest. Alt.UnAlt. Unit of MeasureConfirmed byConfirmation DateConfirmation Time
50000903383000535432A1S026/09/201613:35:50C3433575450002114812K013000128326/09/201613:39:47
50000903383000535478A1S026/09/201613:39:48C3433575450002114811K013000128326/09/201613:41:44

<tbody>
</tbody>

50000903383000535455A1S026/09/201617:21:19C3433575450002125633K013000166226/09/201617:22:50
50000903383000535457A1S026/09/201617:22:51C3433575450002125632K013000166226/09/201617:23:41

<tbody>
</tbody>

The next sheet has several formulas that are referencing both the pivot table cells on the "pivot" sheet and the "data" sheet. Here is an example of the "pivot" sheet.

Avg rate OverallPicker #AAStart of 1st TaskLast Task ConfirmedTotal Time Per WOTotal Total time cum. All OrdersTotal CPH Per WO
Row LabelsSum of Act.Qty Dest. Alt.Un
30000120818174.724109:04:1413:45:0804:40:5400:00:00175
500009036481830000120A1S009:04:1413:45:0804:40:5404:40:54175
3000013218539.352417:29:1519:23:0301:53:4812:03:3298
500009035318530000132A1S017:02:0119:23:0302:21:0204:42:0479
30000311578122.927909:19:0014:01:0704:42:0712:03:32123
500009034757830000311A1S009:19:0014:01:0704:42:0704:42:07123
30000346016:48:3616:48:3612:03:32
5000090340030001456A1S008:51:2916:48:3607:57:0715:54:140
3000068937324.5601220:05:3221:56:0701:50:3512:03:32202
500009015637330000689A1S014:20:3021:56:0707:35:3715:11:1449
30000886264175.156708:21:4009:54:3701:32:5712:03:32170
5000090312830000886A1S008:21:3908:24:2200:02:4301:30:26177
500009032825630000886A1S008:26:5409:54:3701:27:4301:30:26175
300011581030.5196.504108:23:3315:05:2506:41:5212:03:32154
5000090311614.530001158A1S008:23:3311:57:1603:33:4305:14:39173
500009035041630001158A1S013:24:2915:05:2501:40:5605:14:39247
30001251714129.687208:56:2814:21:1905:24:5112:03:32132
500009033571430001251A1S008:50:5914:21:1905:30:2005:30:20130
3000128317714.9115413:39:4714:39:3700:59:5012:03:32177
5000090338
177
30001283A1S013:35:5019:31:5605:56:0611:52:1230
30001333393138.910209:05:2511:53:0102:47:3612:03:32141
500009036839330001333A1S009:03:1611:53:0102:49:4502:49:45139
30001407249147.482720:56:4322:35:4001:38:5712:03:32151
500009182124930001407A1S020:54:2222:35:4001:41:1801:41:18147
3000145677948.9817308:55:1014:20:4405:25:3412:03:32144
500009034077930001456A1S008:51:2916:48:3607:57:0715:54:1498
30001457107107.387821:39:3122:39:1800:59:4712:03:32107
500009182810730001457A1S021:39:3122:39:1800:59:4700:59:47107
30001626455180.69508:07:0610:38:1102:31:0512:03:32181
500009018345530001626A1S008:07:0610:38:1102:31:0502:31:05181
3000163413893.1732920:41:5822:18:0101:36:0312:03:3286
500009015812330001634A1S020:41:5821:50:2201:08:2401:28:52108
50000930831530001634A1S021:57:3322:18:0100:20:2801:28:5244
30001640214:29:1414:29:1412:03:32
5000090156230000689A1S014:20:3021:56:0707:35:3715:11:140
30001650529195.563812:59:4622:38:0309:38:1712:03:3255
500009206537130001650A1S020:59:0522:38:0301:38:5802:42:18225
500009182515830001650A1S012:59:4614:03:0601:03:2002:42:18150
30001662757194.949617:06:2423:25:3906:19:1512:03:32120
5000090338302
30001283A1S013:35:5019:31:5605:56:0611:52:1251
500009307945530001662A1S019:32:4023:25:3903:52:5903:52:59117
30001668172150.036321:37:4622:43:5601:06:1012:03:32156

<tbody>
</tbody>

5000090338177=IFERROR(B23/D23,"")=IFERROR(VLOOKUP(A23,Data!$1:$1048576,10,0),"")=IFERROR(VLOOKUP(A23,Data!$1:$1048576,3,0),"")=IF(A23<5000000000,"",(MIN(IF(Data!A:A=A23,Data!E:E,IF(Data!J:J=A23,Data!L:L,1)))))=IFERROR(MAX(IF(Data!A:A=A23,Data!L:L,IF(A23<5000000000,"",IF(Data!J:J=A23,Data!L:L,0)))),"")=IFERROR(IF(M23-K23>0,M23-K23,""),"")=SUMIF(G:G,G23,O:O)=IFERROR(IF(O23>0.20833,B23/((O23-$U$3)*24),B23/(O23*24)),"")

<tbody>
</tbody>

These are the pivot table numbers, followed the formulas used in the "Pivot" sheet.

I have put the cells in red that are the main issue here. But if it happens at all it will not give an accurate report. Does anyone know how to find the end time that a picker finished and then the new start time.

Please let me know if you can help.

maybe someone even knows a better way to use a macro to get this information. The formulas really take a while. I dont know how to attach the file on here.
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
Another thing to note is that the min and max formulas contain brackets which allows them to work. otherwise they don't. thanks!
 
Upvote 0

Forum statistics

Threads
1,214,561
Messages
6,120,225
Members
448,951
Latest member
jennlynn

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