Formatting time spent on activity - excel

I have an API pull data on time spent on the phone with clients. This data comes into excel showing the time spent on the phone (00:40:05 for 0 hours 40 minutes and 5 seconds). However, when I click the cell it reads it as a date time (12:40:05 AM). I have tried formatting the cell to be a hh:mm:ss since I have to bring this data into Tableau. Tableau and Excel keep reading it as a date time and I cant figure a way to fix it on either end. My end goal is to show time spent on phone per day for each member of the staff.

Related

MS Excel sorting formula

Microsoft money used to be a brilliant programme for keeping track of a pension portfolio in that it showed value change weekly, monthly, 3 monthly and year to date, now it is no longer supported I have been trying to find an alternative. I now have an I Mac with MS excel on but am trying to do a sort and display on the following and try keep track as per MS Money did.
[Sample][1]
This data is updated weekly and would like to know if it is possible to replicate MS Money.
[1]: https://i.stack.imgur.com/BLahL.png
ok so lets try the things you said about and see if we can get you close:
name the ranges (link) dates and values
weekly movement (current value / value 1 week ago):
=SUMIF(dates,MAX(dates),values)/SUMIF(dates,MAX(dates)-7,values)
1 month movement:
=SUMIF(dates,MAX(dates),values)/SUMIF(dates,MAX(dates)-ROUND((MAX(dates)-EDATE(MAX(dates),-1))/7,0)*7,values)
3 month movement:
=SUMIF(dates,MAX(dates),values)/SUMIF(dates,MAX(dates)-ROUND((MAX(dates)-EDATE(MAX(dates),-3))/7,0)*7,values)
ytd:
=SUMIF(dates,MAX(dates),values)/SUMIF(dates,MAX(dates)-ROUND((MAX(dates)-DATE(YEAR(MAX(dates)),1,1))/7,0)*7,values)
this assumes those named ranges and that the date is exactly every 7 days apart. if also looks for the closest date to 1 month ago, 3 months ago and start of year.
also it does a current value as percentage of the start value for the period

Calculating regular hours and night hours between time and dates

i have got a problem in where i try to make an excel spreadsheet to keep track of my wage and that i am paid the correct amount.
I recieve different rates depending on the time of day. I get X during the day and Y during the night which is from 23:00 (11PM) Which means if i show up to work at 16:00 (4PM) and leave at 1:15 (01:15AM) i should get 7 hours at X rate and 2.25 hours at Y rate.
However i can't seem to figure out how to format my cells in excel so that they take and Check in time and a check out time. And then figure out how many regular hours and how many night hours are in it.
Snip of data sample

Google Sheets - Passing Information from Different Sheets

In Google Sheets, each day of the month I keep track of the total amount of time I spend playing games, the average time spent playing games, the average number of people I play games with, and the average number of people in the game lounge. To keep a log of this, I create a new tab/sheet for each day with each sheet being named using the format "mm.dd.yyyy". There's other information on each daily sheet as well.
I've made another tab/sheet that shows a monthly overview that displays the date (with the mm.dd.yyyy format), the day of the week, the total amount of time I spend playing games, the average time spent playing games, the average number of people I play games with, and the average number of people in the game lounge for each day.
The format of this sheet can be seen here:
I'm trying to figure out how to get that information from each daily sheet and put it into the monthly Overview sheet. I know that I can get information from a certain sheet by doing "='03.01.2020'!N65", where I've called the name of the sheet and the cell location. But, it's very tedious having to do that for each day of the month and for each bit of information.
Is there a way I could easily and efficiently update the the monthly Overview? Or could I create a method in the Script Editor that would take in two parameters - the date from the Day column (which would refer to the sheet I need to access) and the cell that has the info I need such as the Total Time spent playing games.
If there is a way to do this, let me know because I've been trying to figure this out for awhile.

Cognos Report totaling hours over time

I'm pretty new to Cognos 10 Report Studio so this may be a fairly simple question but I have been unable to find on answer so far.
In my database I have the hours a person has worked in a two week pay period, as well as what month a pay period exists in. I would like to total the over any period of months.
For example a user is prompted to choose a range of time, and they may select a start month of January of some year, and an end date of June of the same or some later year, and then the report would have a column that displays the sum of hours worked by a person between that time frame.
So in essence the sum of hours for every pay period in a given range of dates.
Thank you very much for your help.
If you want a list (or crosstab) with the User, year, month, and total hours in each month
Create a new data item (maybe something called - Hours by Month) defined as:
total([hours] for [Year], [Month], [User])
The function allows you to define the scope so the SQL is structured to give you the answer grouped the way you want

Calculating Over Time and Late Time payments in excel

I need some help with a formula to automate my over-time and late time salary calculations. I get a report from our system which is in the following format:
"In Time" "Out Time" "Late" "Early" "OT"
All of these have values in the hh:mm:ss format however the cell is formatted as General.
The In Time has the time of the day I punch in.
The Out Time has the time of the day I punch out.
Late has the number of minutes I am late by from my check in time i.e. 10:00 not 10:15.
Early has the number of minutes I am early by.
OT has the number of hours and minutes I a work beyond my shift end time i.e. 6:00
I was hoping to get one column to tell me how much my salary would be deducted if I am late by x minutes. To give you an example, my day starts at 10:00 and I can come as late as 10:15 without any deductions. However for every minute I am late after that, I get a deduction which is calculated by the number of minutes I am late multiplied by my per minute salary ((((10000/30)/8)/60).
And in the second column, I was hoping to calculate how much additional salary I would get for my over time. For example, my shift ends at 6:00 and for every minute after 6:00 I am entitled to over time, which is calculated by the number of minutes I work over time multiples by my per minute over time rate (30/60).
Please let me know if you guys could help me with this. This could be used by almost anyone who wants to make sure their salary is calculated correctly.
"What I really need help with, is the formula for the Late Deduction and Overtime Calculations"
As I implied in my comments, the format of your data is all important. Excel stores times as fractions of a day. So 1 minute = 1/60/24
If you convert ÿour data to a normal Excel time, then the formulas for your Late Deductions and Overtime compensation would be as below. Where Late is the number of minutes you are late (stored as an Excel Time); and OT is the number of overtime minutes.
If these values are stored as plain numbers, omit the 24*60 feature. If these values are stored as Text, you need to change them to either regular numbers or fractions of a day. Exactly how to change them depends on what is making them appear as text.
Late Deduction
=MAX(0,24*60*Late-15)*PerMinuteSalary
Overtime
=24*60*OT*PerMinuteOvertimeSalary

Resources