Перейти к основному содержанию

Как посчитать отработанное время и время обеда в Excel?

Нам, как сотруднику компании, нужно приходить и уходить каждый рабочий день, подсчет общего рабочего времени за вычетом обеденного времени может помочь рассчитать зарплату в зависимости от времени. Например, у меня есть следующая дневная запись посещаемости, которая содержит вход, выход и начало обеда, время окончания обеда на листе, теперь я хочу рассчитать общее количество отработанных часов, но за вычетом времени обеда каждый день. Чтобы закончить эту работу, я могу представить вам несколько формул.

док рассчитать отработанные часы 1

Рассчитайте отработанные часы и минус время обеда с помощью формул


стрелка синий правый пузырь Рассчитайте отработанные часы и минус время обеда с помощью формул

Следующие формулы могут помочь вам рассчитать рабочее время в день на основе записей времени.

1. Введите эту формулу: =SUM((C2-B2)+(E2-D2))*24 в пустую ячейку рядом с ячейками записи времени, F2, например, см. снимок экрана:

Внимание: В приведенной выше формуле: C2 время начала обеда, B2 время входа, E2 указывает время выхода из системы и D2 время окончания обеда. Вы можете изменить ссылки в зависимости от ваших потребностей.

док рассчитать отработанные часы 2

2. Затем перетащите дескриптор заполнения вниз к ячейкам, к которым вы хотите применить эту формулу, и все общие отработанные часы, исключая время обеда, рассчитываются сразу. Смотрите скриншот:

док рассчитать отработанные часы 3

Советы: Если есть вход в систему, запись времени выхода и фиксированное время обеда (например, один час тридцать минут), вы можете применить эту простую формулу: = D2-B2-C2 для расчета отработанных часов в сутки. Смотрите скриншот:

док рассчитать отработанные часы 4

Лучшие инструменты для офисной работы

🤖 Kutools AI Помощник: Революционный анализ данных на основе: Интеллектуальное исполнение   |  Генерировать код  |  Создание пользовательских формул  |  Анализ данных и создание диаграмм  |  Вызов функций Kutools...
Популярные опции: Найдите, выделите или определите дубликаты   |  Удалить пустые строки   |  Объедините столбцы или ячейки без потери данных   |   Раунд без формулы ...
Супер поиск: Множественный критерий VLookup    VLookup с несколькими значениями  |   VLookup по нескольким листам   |   Нечеткий поиск ....
Расширенный раскрывающийся список: Быстрое создание раскрывающегося списка   |  Зависимый раскрывающийся список   |  Выпадающий список с множественным выбором ....
Менеджер столбцов: Добавить определенное количество столбцов  |  Переместить столбцы  |  Переключить статус видимости скрытых столбцов  |  Сравнить диапазоны и столбцы ...
Рекомендуемые функции: Сетка Фокус   |  Просмотр дизайна   |   Большой Формулный Бар    Менеджер книг и листов   |  Библиотека ресурсов (Авто текст)   |  Выбор даты   |  Комбинировать листы   |  Шифровать/дешифровать ячейки    Отправлять электронные письма по списку   |  Суперфильтр   |   Специальный фильтр (фильтровать жирным шрифтом/курсивом/зачеркиванием...) ...
15 лучших наборов инструментов12 Текст Инструменты (Добавить текст, Удалить символы, ...)   |   50+ График Тип (Диаграмма Ганта, ...)   |   40+ Практических Формулы (Рассчитать возраст по дню рождения, ...)   |   19 Вносимые Инструменты (Вставить QR-код, Вставить изображение из пути, ...)   |   12 Конверсия Инструменты (Числа в слова, Конверсия валюты, ...)   |   7 Слияние и разделение Инструменты (Расширенные ряды комбинирования, Разделить клетки, ...)   |   ... и более

Улучшите свои навыки работы с Excel с помощью Kutools for Excel и почувствуйте эффективность, как никогда раньше. Kutools for Excel предлагает более 300 расширенных функций для повышения производительности и экономии времени.  Нажмите здесь, чтобы получить функцию, которая вам нужна больше всего...

Описание


Вкладка Office: интерфейс с вкладками в Office и упрощение работы

  • Включение редактирования и чтения с вкладками в Word, Excel, PowerPoint, Издатель, доступ, Visio и проект.
  • Открывайте и создавайте несколько документов на новых вкладках одного окна, а не в новых окнах.
  • Повышает вашу продуктивность на 50% и сокращает количество щелчков мышью на сотни каждый день!
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