View Single Post
 
Old 11-23-2017, 01:22 PM
AlanBird AlanBird is offline Windows 10 Office 2016
Novice
 
Join Date: Nov 2017
Posts: 2
AlanBird is on a distinguished road
Default Formula to deduct a figure the sum of two cells is equal to or greater than a certain valu

I have a spreadsheet that is used as a rota sheet and it calculates the length of a team members shift using =(D14-B14)*24-0.5 and then this is displayed in cell D16 as the total length of the shift less 0.5 hours for a break. I need the 0.5 to be deducted only if the team member works 6 or more hours. I have not been able to work out the formula, please can someone help? I would like the result to be shown in D16.
Occasionally shifts will run past midnight.
Attached Files
File Type: xlsx Rota main.xlsx (94.0 KB, 11 views)
Reply With Quote