Need some help picking the right formula

Ldbyers

New Member
Joined
Nov 8, 2020
Messages
5
Office Version
  1. 2019
Platform
  1. Windows
Hey everyone first time poster here.

I am struggling with finding the correct formula to use. I am looking to pull data from my Unavailable tab and place the data from Column D in either the Meeting, Break, Lunch, or Tech Issue (Columns C:F) as labeled on my All Rep Stats tab.

I need it to match up Names and Dates with each sheet to provide the time that was used in each "Aux" for that specific day.

I cant seem to get the reference correct to pull it by name and date. I'm only able to get it to pull by name. Can anyone help with this?

Thanks!


Unavailable tab
1604883336894.png


All Rep Stats Tab
1604883356518.png
 

Attachments

  • 1604883289661.png
    1604883289661.png
    29.4 KB · Views: 4

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
Welcome to Mr Excel. It would help us if you used XL2BB to post your data so that we don't have to retype it to test solutions.

Are the dates and names in the rep tab and you want to match those with the unavail data and insert the times in the appropriate cell?
 
Upvote 0
@kweaver ,thanks I wasn't aware of the XL2BB! I have it now and entered below the data from the two sheets. You were correct, I was wanting to match the Dates and Names to get the Time data inserted to the appropriate cell on the All Rep Stats tab.

Cell Formulas
RangeFormula
D2:D8D2=SUMIFS(Unavailable!$D:$D,Unavailable!$C:$C,"Break",Unavailable!$B:$B,'All Rep Stats'!$B:$B)
E2:E8E2=SUMIFS(Unavailable!$D:$D,Unavailable!$C:$C,"Tech Issue",Unavailable!$B:$B,'All Rep Stats'!$B:$B)
F2:F8F2=SUMIFS(Unavailable!$D:$D,Unavailable!$C:$C,"Lunch",Unavailable!$B:$B,'All Rep Stats'!$B:$B)
D9D9=SUMIFS(Unavailable!$D:$D,Unavailable!$C:$C,"Break",$A:$A,$A:$A)
E9E9=SUMIFS(Unavailable!$D:$D,Unavailable!$C:$C,"Tech Issue",$A:$A,$A:$A)
F9F9=SUMIFS(Unavailable!$D:$D,Unavailable!$C:$C,"Lunch",$A:$A,$A:$A)
G2:G10G2=TEXT(A2,"DDDD")
H2:H10H2=TEXT(A2,"MMMM")
C2:C10C2=SUMIFS(Unavailable!$D:$D,Unavailable!$C:$C,"Meeting",Unavailable!$B:$B,'All Rep Stats'!$B:$B)



Test Stats.xlsx
ABCD
1DateNameAux CodeTime
211/8/2020JeffMeeting0:28:00
311/8/2020LennyBreak0:15:00
411/8/2020KourtneyLunch0:24:00
511/8/2020KrisMeeting0:17:00
611/8/2020LeAnneMeeting1:12:00
711/8/2020KinleyTech Issue0:07:25
811/8/2020ZoeyTech Issue0:00:00
911/9/2020JeffMeeting2:00:00
1011/10/2020BillLunch0:30:00
Unavailable
 
Upvote 0
How about in C2 copied down & across
Excel Formula:
=SUMIFS(Unavailable!$D:$D,Unavailable!$C:$C,C$1,Unavailable!$B:$B,$B2,Unavailable!$A:$A,$A2)
 
Upvote 0
Solution
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,877
Messages
6,122,051
Members
449,064
Latest member
scottdog129

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