Share via

Excel equation help

Anonymous
2024-07-20T14:47:55+00:00

I have an Excel chart for child care charges. My first column is the attendance date, my second column is the arrival time, my third column is the departure time and forth is daily charges. If a child attends 4 hours or less the charge for the day is $. If they attend for more than 4 hours the charge is $$ for the day. What equation do I use to calculate daily charges based on arrival and departure and have it calculated in my fourth column?

Microsoft 365 and Office | Excel | For home | MacOS

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Anonymous
    2024-07-20T15:13:38+00:00

    =IF(attendance_date="", "", IF(departure_time-arrival_time<=TIME(4, 0, 0), $, $$))

    Was this answer helpful?

    0 comments No comments