logo elektroda
logo elektroda
X
logo elektroda

Schedule - counting hours - Counting hours of the schedule, weekdays, Sat and Su

Ematxx 10083 8
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 16853067
    Ematxx
    Level 2  
    Hello,
    I need help drawing up the schedule. Attached excel file with a chart pattern. I would like to:
    1. In cell N9 - the occurrences of the person in the entire schedule are counted
    2. In cell O2 - hours for a given person were counted from Monday to Friday (there are changes eg 8-16, 20-8)
    3. In cell P2 - hours were counted from the change only on Saturday for a given person
    4. In cell R2 - hours were counted from Sunday changes only.

    It should be broken down for days. For example, on Friday from 20 to 24 we count until weekdays and from 24.00 to 8 to Saturday.
    I care about excel formulas.

    And yes for the whole month. Please :-D for assistance
  • ADVERTISEMENT
  • #2 16853183
    michalek1988
    Level 26  
    Ematxx wrote:
    1. In cell N9 - the occurrences of the person in the entire schedule are counted
    How do you understand that?
  • ADVERTISEMENT
  • #3 16853197
    Prot
    Level 38  
    And you can ask for an explanation of the data in your table (no headers :cunning: ) - maybe the data from Tuesday, for example :?: - are there any doctors on two shifts at the same time on each shift? Is it a practice that marriages or siblings of doctors are on duty on the same shift? :D

    Possibly, what does it mean: "7.5" or "19.5" - such a fancy sign of time :?:
  • #4 16853331
    Ematxx
    Level 2  
    I'm sorry, I'll clarify excel. This is the case, for example, on Monday, we have 6 doctors (for example, there are 6 cabinets.) Doctors can work on the following duties: Friday Zalewski 20:00 to 8:00 and next day Saturday 08:00 to 16:00).
    "Number of roster" means how many times the name KOWALSKA appeared in the entire schedule.
    "Hours of a weekday" - these are hours from a doctor's schedule from Monday to Friday
    : Number of Saturdays "- these are hours from Saturday rostries
    "Number of Sunday hours" - these are hours on Sunday rosters

    7.5 is like in reality 7:30.
    If Zalewski is on Friday from 8:00 p.m. to 8:00 p.m. (that is from 8:00 p.m. to 11:59 p.m. - then we count until Friday and from 12:00 p.m. until 8:00 p.m. - we count until Saturday)
  • ADVERTISEMENT
  • #5 16853352
    Ematxx
    Level 2  
    michalek1988 wrote:
    Ematxx wrote:
    1. In cell N9 - the occurrences of the person in the entire schedule are counted
    How do you understand that?


    I have clarified excel - "the person's occurrences in the entire schedule are counted" - that is, according to the new excel in the Q3 cell, how many times in the entire schedule Kowalska is on duty (how many times the name Kowalska appears in the schedule)
  • Helpful post
    #6 16854356
    Prot
    Level 38  
    If you change the layout of the table a little, and modify the definition of the roster ("Saturday" - this beginning on Saturday and "Sunday" on Sunday :| ) you can use quite simple table formulas to get the effect like on a screenshot:

    Schedule - counting hours - Counting hours of the schedule, weekdays, Sat and Su2017-11...png Download (71.97 kB)

    Very important in this sheet is the appropriate custom "temporary" formatting individual data columns.

    The whole can be analyzed in the attached file. :spoko:

    grafikPr...xlsx Download (14.65 kB)Points: 2.5 for user
  • ADVERTISEMENT
  • #7 16859170
    Prot
    Level 38  
    Ematxx wrote:
    And yes for the whole month. Please help


    Because I presented my solution only for one week :cry: , and extending the scope for a whole month - with table formulas may cause some problems - I am sending in an extended attachment (for the whole year :D ) version of the file 'counting hours of the schedule'.
    Schedule - counting hours - Counting hours of the schedule, weekdays, Sat and Su2017-11...png Download (100.28 kB)

    grafikPr...xlsx Download (24.21 kB)Points: 3 for user
  • #8 18963073
    Matimen
    Level 1  
    Hello,
    I have been a forum user for a long time. I found an excel file regarding the schedule. I changed a bit to my needs, but now I am not counting the hours in the table. Could someone have a peek what is wrong? I can also have this sheet corrected for a fee.

    greetings
  • #9 18963754
    Prot
    Level 38  
    Matimen wrote:
    Could someone have a peek what is wrong?

    You haven't noticed, buddy, that there are a lot of so-called dynamic names (that is, names of self-adapting ranges :idea: ) :cry:

    I suggest you either go back to the original layout :!: or modify all names and adapt the formulas accordingly (by entering new names :D ).

    Generally speaking, these formulas are built as array formulas (sum of the products of arrays verifying the occurrence of a criterion and arrays with the number of hours) :idea: and when modifying these formulas you have to analyze (using the button calculate now :ok: if all tables are generated according to your needs.
    Schedule - counting hours - Counting hours of the schedule, weekdays, Sat and Su2020-10...png Download (76.5 kB)

Topic summary

The discussion revolves around creating an Excel schedule to track the occurrences and working hours of personnel, specifically doctors, across weekdays and weekends. The user seeks assistance in formulating Excel functions to count occurrences in the schedule, calculate weekday hours, and differentiate between Saturday and Sunday hours. Clarifications were provided regarding the structure of the data, including how to interpret time formats and the significance of specific terms like "number of roster." Suggestions included modifying the table layout and using array formulas for accurate calculations. Some users shared their experiences with similar issues and offered solutions, including the use of dynamic named ranges and custom formatting for better data analysis.
Summary generated by the language model.
ADVERTISEMENT