Stacked bar chart for specific days within a date range

I have columns for Date absence starts, Date absence ends, and Type of absence.

I want to create a stacked bar chart within a dashboard that will show a bar for each day with how many employees will be gone per day with a stack for each type of absence. My trouble is figuring out a formula or summary sheet for the days in between the absence start and stop date. For example: If an employee will be gone from 4-21-25 through 4-24-25, my current summary only accounts for 4-21 and does not count the other days, since they are in a range of dates and not individually typed out.

My current chart, from its corresponding summary sheet, can only sum all the unplanned absences for the first date of absence only. It does not add the absence onto subsequent days if there is more than 1, and it does not breakdown in stacks the different types of unplanned absences for each day.

image.png image.png

Best Answers

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!