Pulling total numbers, help.

Noxqss38242

Board Regular
Joined
Sep 15, 2017
Messages
223
Office Version
  1. 2016
Can I pull total numbers with a formula?
On TAB2
Cell A has a terminal code, ie: MU
Cell B has tech initials, ie: WG1
Cell C has in date
Cell D has in time
Cell E has out date
Cell F has out time
Cell J has total time clocked for that job.

Problem is that the techs have multiple clocking in and out per day. Is there a formula that will pull individual total time for the specific day?

So, he had .4, .7, .3, and .1 for 1/2/20. Total is 1.5.

Tab1
I have the spreadsheet on Tab 1 with the techs initials and end date created that is tracking other information already. I'm wanting to insert a column, let's just say column G with the total found on Tab2 per initial, per day.

So I'm guessing a vlookup situation but somehow pulling the sum total for each tech on each day.

OR

Somehow just sum the total for each day, per tech in a separate column on Tab2, then vlookup only that column for Tab1 based off also the date? Oh the madness!!
 
Tech Report Card.xlsx
ABCDEFGHIJK
1DateInitAmount
21/4/2020 JJ11.0CA2 
31/4/2020 JJ11.0CCA 
41/4/2020 JJ11.0JLB 
51/4/2020 RES1.8JB2 
61/4/2020 JB20.6TRB 
71/4/2020 DAL0.6JMD 
81/4/2020 CCA0.9WG1 
91/4/2020 LJL0.7SPG 
101/4/2020 CCA0.8JH5 
111/4/2020 LJL1.0KWK 
121/4/2020 CA20.8HBL 
131/4/2020 WG10.9DAL 
141/4/2020 JR13.3JNL 
151/4/2020 WG14.4LRL 
161/4/2020 BKO1.0LJL 
171/4/2020 CA20.3MM4 
181/4/2020 KWK0.5ZSM 
191/4/2020 DAL0.2DJM 
201/4/2020 DAL0.4CDO 
211/4/2020 BKO0.8BKO 
221/4/2020 KWK0.4JR1 
231/4/2020 LRL0.1DGS 
241/4/2020 WG11.0BDS 
251/4/2020 TRB1.0TW 
Sheet4
Cell Formulas
RangeFormula
K2:K25K2=IF(SUMIF($B$2:$B$53,J2,$C$2:$C$53)=0,"",SUMIF($B$2:$B$53,J2,$C$2:$C$53))
 
Upvote 0

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
There is a space in each cell of "Column B". That is why the criteria range doen't Match.
Press Ctrl+Find and replace Space from Column B. It will work
 
Upvote 0
Once you remove the spaces, another option is

+Fluff New.xlsm
ABCDEFGHIJK
1DateInitAmount
201/04/2020JJ11CA21.1
301/04/2020JJ11CCA1.7
401/04/2020JJ11JLB 
501/04/2020RES1.8JB20.6
601/04/2020JB20.6TRB1
701/04/2020DAL0.6JMD 
801/04/2020CCA0.9WG16.3
901/04/2020LJL0.7SPG 
1001/04/2020CCA0.8JH5 
1101/04/2020LJL1KWK0.9
1201/04/2020CA20.8HBL 
1301/04/2020WG10.9DAL1.2
1401/04/2020JR13.3JNL 
1501/04/2020WG14.4LRL0.1
1601/04/2020BKO1LJL1.7
1701/04/2020CA20.3MM4 
1801/04/2020KWK0.5ZSM 
1901/04/2020DAL0.2DJM 
2001/04/2020DAL0.4CDO 
2101/04/2020BKO0.8BKO1.8
2201/04/2020KWK0.4JR13.3
2301/04/2020LRL0.1DGS 
2401/04/2020WG11BDS 
2501/04/2020TRB1TW 
Master
Cell Formulas
RangeFormula
K2:K25K2=IFERROR(1/(1/SUMIF($B$2:$B$53,J2,$C$2:$C$53)),"")
 
Upvote 0

Forum statistics

Threads
1,214,975
Messages
6,122,538
Members
449,088
Latest member
RandomExceller01

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