Hoppa till huvudinnehåll

Hur beräknar man arbetade timmar och minus lunch i Excel?

Som företagsanställd behöver vi slå in och slå ut varje arbetsdag, räknar vi den totala arbetstiden och minus lunchtiden på en dag kan hjälpa till att beräkna lönen utifrån tiden. Till exempel har jag följande dagliga närvaropost som innehåller inloggning, utloggning och lunchstart, sluttider för lunch i ett kalkylblad, nu vill jag beräkna de totala arbetade timmarna men minus lunchtid varje dag. För att avsluta det här jobbet kan jag presentera några formler för dig.

doc beräkna arbetade timmar 1

Beräkna arbetade timmar och minus lunch med formler


pil blå höger bubbla Beräkna arbetade timmar och minus lunch med formler

Följande formler kan hjälpa dig att beräkna arbetad tid per dag baserat på tidsposterna.

1. Ange denna formel: =SUM((C2-B2)+(E2-D2))*24 i en tom cell bredvid dina tidsregistreringsceller, F2, till exempel, se skärmdump:

Anmärkningar: I ovanstående formel: C2 är lunchens starttid, B2 är inloggningstiden, E2 anger utloggningstid och D2 är sluttiden för lunchen. Du kan ändra referenserna baserat på ditt behov.

doc beräkna arbetade timmar 2

2. Dra sedan fyllningshandtaget ner till cellerna som du vill använda denna formel och alla totala arbetade timmar exklusive lunchtiden beräknas på en gång. Se skärmdump:

doc beräkna arbetade timmar 3

tips: Om det finns inloggning, utloggning och fast lunchtid (t.ex. en timme och trettio minuter) kan du använda den här enkla formeln: = D2-B2-C2 för att beräkna arbetade timmar per dag. Se skärmdump:

doc beräkna arbetade timmar 4

Bästa kontorsproduktivitetsverktyg

🤖 Kutools AI Aide: Revolutionera dataanalys baserat på: Intelligent utförande   |  Generera kod  |  Skapa anpassade formler  |  Analysera data och generera diagram  |  Anropa Kutools funktioner.
Populära funktioner: Hitta, markera eller identifiera dubbletter   |  Ta bort tomma rader   |  Kombinera kolumner eller celler utan att förlora data   |   Rund utan formel ...
Superuppslag: Flera kriterier VLookup    VLookup med flera värden  |   VSök över flera ark   |   Fuzzy Lookup ....
Avancerad rullgardinslista: Skapa snabbt en rullgardinslista   |  Beroende rullgardinslista   |  Flervals-rullgardinslista ....
Kolumnhanterare: Lägg till ett specifikt antal kolumner  |  Flytta kolumner  |  Växla synlighetsstatus för dolda kolumner  |  Jämför intervall och kolumner ...
Utvalda funktioner: Rutnätsfokus   |  Designvy   |   Stor formelbar    Arbetsbok & Bladhanterare   |  Resursbibliotek (Automatisk text)   |  Datumväljare   |  Kombinera arbetsblad   |  Kryptera/Dekryptera celler    Skicka e-postmeddelanden efter lista   |  Superfilter   |   Specialfilter (filtrera fet/kursiv/genomstruken...) ...
Topp 15 verktygssatser12 text verktyg (lägga till text, Ta bort tecken, ...)   |   50+ Diagram Typer (Gantt Chart, ...)   |   40+ Praktiskt Formler (Beräkna ålder baserat på födelsedag, ...)   |   19 Införande verktyg (Infoga QR-kod, Infoga bild från sökväg, ...)   |   12 Konvertering verktyg (Siffror till ord, Valutaväxling, ...)   |   7 Slå ihop och dela verktyg (Avancerade kombinera rader, Dela celler, ...)   |   ... och mer

Uppgradera dina Excel-färdigheter med Kutools för Excel och upplev effektivitet som aldrig förr. Kutools för Excel erbjuder över 300 avancerade funktioner för att öka produktiviteten och spara tid.  Klicka här för att få den funktion du behöver mest...

Beskrivning


Fliken Office ger ett flikgränssnitt till Office och gör ditt arbete mycket enklare

  • Aktivera flikredigering och läsning i Word, Excel, PowerPoint, Publisher, Access, Visio och Project.
  • Öppna och skapa flera dokument i nya flikar i samma fönster, snarare än i nya fönster.
  • Ökar din produktivitet med 50 % och minskar hundratals musklick för dig varje dag!
Comments (38)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
hi, dont know if you'll be able to help me but for my payroll i pay employees by the hours of actual service not by the time they arrive/ leave. i have three categories 1 hr service, 1.5 hr service and 2 hr service. for each category i pay a different amount. i managed to put this data on excell but its counts how many times they completed each service. like 3x the 1 hr and 1x the 1.5 hr on one day or so on. but i also need it to calculate the total hrs they worked. currently it doesnt count the 0.5. any ideas? thanksss!!!
This comment was minimized by the moderator on the site
Hi,

How to Count (D71) CONDITIONALLY FORMATTED RED COLOR CELL only (D40:D70)?

Pls guide...

Thanks
This comment was minimized by the moderator on the site
A2 is my start time at 6pm and B2 is my endtime at 4:00 AM it gives me ###### and format gives me a negative number when its a 10 hour shift. How do I resolve this?
This comment was minimized by the moderator on the site
Hello, Wally,
To solve your problem, please apply the following formula:
=(B2-A2+(B2<A2))*24


Please have a try, hope it can help you!
This comment was minimized by the moderator on the site
Hi there,
I have Cell G9 as Start Time (09:00:00) then F9 as Finish Time (18:00:00) and have a formula for working out the time worked (=IF(F9<E9,F9+1,F9)-E9) but would like to add a formula to calculate If time worked is more that 6 hours, to deduct 00:30:00 minutes for a break and calculate the new time.
Please advise what best formula to use for this?
This comment was minimized by the moderator on the site
Hello,
To solve your problem, please apply the below formula:

=B2-A2-TIME(0,INT((B2-A2)/TIME(6,0,0))*30,0)

B2 is the End time, and A2 is the Start time.
Please try, hope it can help you!
This comment was minimized by the moderator on the site
Добрый день! Подскажите, пожалуйста, у меня есть время прибытия и отбытия, мне нужно ввести формулу сколько на точке пробыл объект и минус 1 час обеда, тоесть если прибыл в 8:00 а отбыл 17:00 итого должно получиться 8 часов
This comment was minimized by the moderator on the site
Hello, Аскар,

To solve your problem, please apply the below formula:=(B2-A2)-1/24
B2 is the End time, and A2 is the Start time.
Please try, hope it can help you!
This comment was minimized by the moderator on the site
Ciao, sto cercano una formula o una macro che mi permetta di calcolare le ore di presenza partendo dalle timbrature ma allineate all'orario di lavoro standard.
Per esempio se ho l'orario di lavoro dalle 8:30 alle 12:15 con pausa pranzo e ripresa alle 13.15 fino alle 17:30 (8 ore di lavoro) ma le timbrature sono ad esempio:
Timbratura di Ingresso ore 8:10 con timbratura uscita pausa alle 12:16. timbratura di ingresso dopo la pausa alle 12:50 timbratura di uscita 17:35.

Sicuramente tu potrai aiutarmi. Grazie in anticipo
This comment was minimized by the moderator on the site
Thanks for the info on this website and for your help!!
I've followed the thread and have made my excelsheet. I use this formula =SUM((C5-B5)+(E5-D5)) to calculate the total working hours per day. I don't get the right info if I use =SUM((C5-B5)+(E5-D5))*24 as has been suggested in this thread. I'm using "Time format' instead of general. Even if I choose general I still get an odd number when I type in 8:00AM start and finish 5:30 PM.

Now I want to have the monthly working hours so I use =SUM(L5:L35), but instead of getting the total hours and minutes I get hours/minutes that aren't correct. For example if the total amount is supposed to be 150 hours and 32minutes I get a whole different number.

Note: I have the format in hh:mm

I hope you could help me out.
This comment was minimized by the moderator on the site
Hi, NG,
I'm sorry for that this formula can't help you, You'd better to upload your Excel file here if you don't mind, so that we can check where the problem is?
Thank you!
This comment was minimized by the moderator on the site
Thanks for the reply. How/where do I upload my file? I don't see an attachment possibility.
This comment was minimized by the moderator on the site
Hello, NG,
If there is no "Upload Attachment" box, you should register first, and then the "Upload Attachment" option will be appeared.
To register, please go to the top of the article, and click Resgister button to start.
https://www.extendoffice.com/images/stories/comments/comment-skyyang/doc-register.png
I'm sorry for the inconvenience.
This comment was minimized by the moderator on the site
Začátek pracovní doby i konec se vždy liší, jak prosím automaticky odečíst 30 minut bez zadávání začátku a konce přestávky?

Děkuji
This comment was minimized by the moderator on the site
非常实用!很感激你的帮助!请教你如何计算公式得到员工的总工资总和。
This comment was minimized by the moderator on the site
Very useful! Thanks🤓
There are no comments posted here yet
Load More
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations