Hello,
I am trying to help my boss out by making our Excel spreadsheet schedule work smarter. Unfortunately, I have to work within a standard schedule provided by the company, so I am hoping someone can help me out, even if it's only with pieces of my request.
Background:
This is for scheduled hours, not actual worked hours (otherwise, this would be easier for me). I have start and end time columns for each person. I have it calculating daily and then weekly hours. However, some days will have text instead of times if they have the day off. The schedule does not account for lunch breaks, so I have that built into the daily hour calculation formulas.
Help needed:
I need the daily calculations to put out a zero if the field includes text or if it is left blank. If it helps, the text will state either "off" or "vacation." Blanks are problematic since I had to build the lunch hour into the calculation formula; they are creating negative hours worked.)
***For example, I need it to say C3-B3=X hours unless B3="off" "vacation" or is left blank, then C3-B3=0
Bonus question:
Can time cells be formatted to display without the am/pm but also without using 24-hour format? The times will be typed directly into the field, not into a formula, so it really needs to be done with cell formatting.
Thanks so much in advance!
Gina
Bookmarks