Im trying to create a calculator for detention of containers. 

Each provider has different rules that have a breakdown between work days and calendar days.

for example:

1. the first 5 working days (excl Saturday and Sunday) are free of cost
2. After that the next 3 calendar days are at a cost of 135
3. After the above, the next 5 calendar days are at a cost of 160
4. After that 180 onward.

is this possible to do in excel? My idea is to have a difference between 2 dates: date of arrival versus date of return. and based on the 4 rules below use "IF" to give me a cost.

what would be a more efficient way to do this?