Formula Help

13Jkidd13

New Member
Joined
Dec 10, 2020
Messages
10
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
Hi all,

Im very new to Excel and require some help on creating a formula. I need a formula to help with the below:
1607621310248.png
in the cll duration column i used =finish-start.

what i need to do is in a new tab-collate all calls dialled each day and have the um of all the minutes for this. so for example
5/12/202:55:00
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
you could use a pivot table to do the SUM
do you know pivot tables at all

otherwise
A SUMIF() would work on the new tab
I notice there are know entries for Friday 4th Dec in that example
 
Upvote 0
i am literally a novice with excel. this is for work. i need something which will automatically work out the time spend each time he makes a call for each day.
 
Upvote 0
How do you get the data for the spreadsheet
OR is this something that "HE" updates
A pivot table would be best, as you can hit refresh and it will update based on the data entered
you can setup a new sheet to extract the unique dates and then do a sumif()
do you have an example of you data you can either use XL2BB to post here OR put a link to a share like dropbox/onedrive
meanwhile i can setup a sample based on the image above
 
Upvote 0
i have added a file to dropbox - link here, BUT just seen your sample and will look at that
I only leave the sample on dropbox for a month

And heres the XL2bb

Dates-Extract-Duration-ETAF.xlsx
ABCD
1DateStartStopDuration
212/1/200:300:480:18
312/1/200:551:230:28
412/1/201:201:580:38
512/2/201:452:330:48
612/2/202:103:080:58
712/2/202:353:431:08
812/2/203:004:181:18
912/2/203:254:531:28
1012/3/203:505:281:38
1112/3/204:156:031:48
1212/3/204:406:381:58
1312/3/205:057:132:08
1412/3/205:307:482:18
1512/3/205:558:232:28
1612/3/206:208:582:38
1712/3/206:459:332:48
1812/3/207:1010:082:58
1912/3/207:3510:433:08
2012/3/208:0011:183:18
2112/3/208:2511:533:28
2212/3/208:5012:283:38
2312/3/209:1513:033:48
2412/3/209:4013:383:58
2512/4/2010:0514:134:08
2612/4/2010:3014:484:18
2712/4/2010:5515:234:28
2812/4/2011:2015:584:38
2912/4/2011:4516:334:48
3012/4/2012:1017:084:58
3112/4/2012:3517:435:08
3212/4/2013:0018:185:18
3312/4/2013:2518:535:28
3412/4/2013:5019:285:38
3512/4/2014:1520:035:48
3612/4/2014:4020:385:58
3712/4/2015:0521:136:08
3812/4/2015:3021:486:18
3912/5/2015:5522:236:28
4012/5/2016:2022:586:38
4112/5/2016:4523:336:48
4212/5/2017:100:086:58
4312/5/2017:350:437:08
4412/5/2018:001:187:18
4512/5/2018:251:537:28
4612/5/2018:502:287:38
4712/5/2019:153:037:48
4812/5/2019:403:387:58
4912/5/2020:054:138:08
5012/5/2020:304:488:18
5112/5/2020:555:238:28
5212/5/2021:205:588:38
DATA
Cell Formulas
RangeFormula
D2:D52D2=C2-B2


SUMMARY SHEET
Dates-Extract-Duration-ETAF.xlsx
AB
1DatesDuration
212/1/201:24
312/2/205:40
412/3/2042:00
512/4/2073:02
612/5/20105:42
71/0/00 
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
22  
Summary
Cell Formulas
RangeFormula
A2:A22A2=IFERROR(INDEX(DATA!$A$2:$A$10000, MATCH(0, INDEX(COUNTIF(Summary!$A$1:A1, DATA!$A$2:$A$10000), 0, 0), 0)), "")
B2:B22B2=IF(OR(A2=0,A2=""),"",SUMIF(DATA!A:A,Summary!A2,DATA!D:D))


PIVOT TABLE
Dates-Extract-Duration-ETAF.xlsx
AB
2
3Row LabelsSum of Duration
412/1/201:24
512/2/205:40
612/3/2042:00
712/4/2073:02
812/5/20105:42
9Grand Total227:48
Pvt-Table
 
Upvote 0
OK, Will you always have a call duration sheet with the dates already filled in

if so then a simple SUMIF()
=SUMIF('Pin Monitoring'!B15:B109,A4,'Pin Monitoring'!F15:F109)

Avoid merged cells as that makes formulas very difficult to use and manage


Nedelcu A6720EM.xlsx
ABCD
3DateMinutes monitored
412/1/200:30
512/2/202:59
612/3/200:05
712/4/200:00
812/5/202:55
912/6/200:00
1012/7/200:00
1112/8/200:00
1212/9/200:00
1312/10/200:00
1412/11/200:00
1512/12/200:00
1612/13/200:00
1712/14/200:00
1812/15/200:00
1912/16/200:00
2012/17/200:00
2112/18/200:00
2212/19/200:00
2312/20/200:00
Call Duration Log
Cell Formulas
RangeFormula
C4:C23C4=SUMIF('Pin Monitoring'!B15:B109,A4,'Pin Monitoring'!F15:F109)
 
Upvote 0
OK, Will you always have a call duration sheet with the dates already filled in

if so then a simple SUMIF()
=SUMIF('Pin Monitoring'!B15:B109,A4,'Pin Monitoring'!F15:F109)

Avoid merged cells as that makes formulas very difficult to use and manage


Nedelcu A6720EM.xlsx
ABCD
3DateMinutes monitored
412/1/200:30
512/2/202:59
612/3/200:05
712/4/200:00
812/5/202:55
912/6/200:00
1012/7/200:00
1112/8/200:00
1212/9/200:00
1312/10/200:00
1412/11/200:00
1512/12/200:00
1612/13/200:00
1712/14/200:00
1812/15/200:00
1912/16/200:00
2012/17/200:00
2112/18/200:00
2212/19/200:00
2312/20/200:00
Call Duration Log
Cell Formulas
RangeFormula
C4:C23C4=SUMIF('Pin Monitoring'!B15:B109,A4,'Pin Monitoring'!F15:F109)
the dates will not always be on there as it is dependant on when monitoring is conducted on said individual. it ould be that they monitor 28 calls on the 5/12/20 and then nothing until 10/12/20. if this is the case i only need it to calculate the days that monitoring is recorded on the sheet
 
Upvote 0
Sorry, re-Phrase - Will the "CALL DURATION LOG" sheet - always have the unique dates from the "PIN MONITORING" sheet, is this some form of template that is provided ?
How is it populated - I can give you a formula to copy into , BUT it will depend on how the sheet is populated ?

I have added the formula to extract the Dates in column A on the "CALL DURATION LOG" sheet , removed the merged cells and formated so the formula works OK - change that and it may not work.
Added a conditional format to keep the font white for a zero date

Then used the range 15 to 200 on the "PIN MONITORING" sheet, as i did not know how many entries you may have
if you then use this as a template - on the "PIN MONITORING" , they can add the date / start and finish time and the Call Duration will be calculated and the "CALL DURATION LOG": sheet automatically updates

To extract the dates into the "CALL DURATION LOG" I have used
=IFERROR(INDEX('Pin Monitoring'!$B$15:$B$200, MATCH(0, INDEX(COUNTIF('Call Duration Log'!$A$1:A1, 'Pin Monitoring'!$B$15:$B$200), 0, 0), 0)), "")


And for the Duration on the "CALL DURATION LOG" I have used

=IF(OR(A2=0,A2=""),"",SUMIF('Pin Monitoring'!$B$15:$B$200,'Call Duration Log'!A2,'Pin Monitoring'!$F$15:$F$200))



Nedelcu A6720EM (ETAF).xlsx
AB
1DateMinutes monitored
212/1/200:30
312/2/202:59
412/3/200:05
512/5/202:55
61/0/00 
7  
8  
9  
10  
11  
12  
13  
14  
15  
Call Duration Log
Cell Formulas
RangeFormula
A2:A15A2=IFERROR(INDEX('Pin Monitoring'!$B$15:$B$200, MATCH(0, INDEX(COUNTIF('Call Duration Log'!$A$1:A1, 'Pin Monitoring'!$B$15:$B$200), 0, 0), 0)), "")
B2:B15B2=IF(OR(A2=0,A2=""),"",SUMIF('Pin Monitoring'!$B$15:$B$200,'Call Duration Log'!A2,'Pin Monitoring'!$F$15:$F$200))
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A:AExpression=A1=0textNO



Nedelcu A6720EM (ETAF).xlsx
BCDEF
13Monitoring details or no calls
14Date Number dialed Time call startedTime call
Pin Monitoring
 
Upvote 0
Sorry, re-Phrase - Will the "CALL DURATION LOG" sheet - always have the unique dates from the "PIN MONITORING" sheet, is this some form of template that is provided ?
How is it populated - I can give you a formula to copy into , BUT it will depend on how the sheet is populated ?

I have added the formula to extract the Dates in column A on the "CALL DURATION LOG" sheet , removed the merged cells and formated so the formula works OK - change that and it may not work.
Added a conditional format to keep the font white for a zero date

Then used the range 15 to 200 on the "PIN MONITORING" sheet, as i did not know how many entries you may have
if you then use this as a template - on the "PIN MONITORING" , they can add the date / start and finish time and the Call Duration will be calculated and the "CALL DURATION LOG": sheet automatically updates

To extract the dates into the "CALL DURATION LOG" I have used
=IFERROR(INDEX('Pin Monitoring'!$B$15:$B$200, MATCH(0, INDEX(COUNTIF('Call Duration Log'!$A$1:A1, 'Pin Monitoring'!$B$15:$B$200), 0, 0), 0)), "")


And for the Duration on the "CALL DURATION LOG" I have used

=IF(OR(A2=0,A2=""),"",SUMIF('Pin Monitoring'!$B$15:$B$200,'Call Duration Log'!A2,'Pin Monitoring'!$F$15:$F$200))



Nedelcu A6720EM (ETAF).xlsx
AB
1DateMinutes monitored
212/1/200:30
312/2/202:59
412/3/200:05
512/5/202:55
61/0/00 
7  
8  
9  
10  
11  
12  
13  
14  
15  
Call Duration Log
Cell Formulas
RangeFormula
A2:A15A2=IFERROR(INDEX('Pin Monitoring'!$B$15:$B$200, MATCH(0, INDEX(COUNTIF('Call Duration Log'!$A$1:A1, 'Pin Monitoring'!$B$15:$B$200), 0, 0), 0)), "")
B2:B15B2=IF(OR(A2=0,A2=""),"",SUMIF('Pin Monitoring'!$B$15:$B$200,'Call Duration Log'!A2,'Pin Monitoring'!$F$15:$F$200))
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A:AExpression=A1=0textNO



Nedelcu A6720EM (ETAF).xlsx
BCDEF
13Monitoring details or no calls
14Date Number dialed Time call startedTime call
Pin Monitoring
hello, i have been struggling with what you previously stated to input in the cells. i have uploaded a newer version of the monitoring template to my google drive, would you be able and willing to input the required formulas tooth's template for me?

 
Upvote 0

Forum statistics

Threads
1,215,580
Messages
6,125,653
Members
449,245
Latest member
PatrickL

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