Calculating payroll hours

Discuss the spreadsheet application
Post Reply
Eric in Illinois
Posts: 1
Joined: Sun Dec 29, 2019 7:00 pm

Calculating payroll hours

Post by Eric in Illinois »

Hello,
I am new to using formulas in spreadsheets. I have managed to set my columns to HH:MM time format. Now I want to structure my spreadsheet with employee names in the far left column, followed by begin time, and end time. I will need to subtract 1 hour for lunch for any shift over 6 hours. I then want to sum the times per employee per day, and time per day total. The times per employee will end up being in a column to the right of their schedule. The time per day will end up in a row below the columns for day of the week. Where the times per employee and times per day totals intersect I want a total of hours for the week. Please help me to grasp the formulas needed.
Last edited by MrProgrammer on Sun Dec 29, 2019 8:43 pm, edited 1 time in total.
Reason: Moved topic from Beginners forum to Calc
Open Office 4.1.2 on Windows 10
User avatar
RoryOF
Moderator
Posts: 34613
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Calculating payroll hours

Post by RoryOF »

Commence by reading (4) in
viewtopic.php?f=75&t=39529
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
User avatar
Zizi64
Volunteer
Posts: 11359
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: Calculating payroll hours

Post by Zizi64 »

The Time, Date and DateTime content of the cells must be numeric values - if you want to make any calculation with them.

And it is better to use DateTime values instead of the Time values if the time values cover more then one day:
YYYY-MM-DD HH:MM:SS

Please upload your ODS type sample file here.
Tibor Kovacs, Hungary; LO7.5.8 /Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
User avatar
Villeroy
Volunteer
Posts: 31279
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: Calculating payroll hours

Post by Villeroy »

Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Post Reply