Help

Simple subtracting hours

Topic Labels: Formulas
Solved
Jump to Solution
336 2
cancel
Showing results for 
Search instead for 
Did you mean: 
MKRHP
4 - Data Explorer
4 - Data Explorer

Hi, I'm simply trying to subtract hours in one field from hours in another. I have a column with 'hours recorded' and one with 'hours billed'. They are both formatted as time units (hours). I just want to subtract one from the other in a new field. As an additional question is there a way to set the hour units to just hours, with no minutes, at the moment it's h:mm and I need to enter a 0 for minutes each time Thanks 

 

 

1 Solution

Accepted Solutions

Hello,

The formula is a simple substraction:

Pascal_Gallais_0-1727699085597.png

But, you need to format the result:

Pascal_Gallais_1-1727699154996.png

This being said, the interest of using duration type fields is to let the system deal with minutes when defining such computations. Hence, if you only provide a value for the number of hours and never for the number of minutes, it would be easier to define your fields as number type fields with no decimals, the formula still being a substraction.

Regards,

Pascal

See Solution in Thread

2 Replies 2

Hello,

The formula is a simple substraction:

Pascal_Gallais_0-1727699085597.png

But, you need to format the result:

Pascal_Gallais_1-1727699154996.png

This being said, the interest of using duration type fields is to let the system deal with minutes when defining such computations. Hence, if you only provide a value for the number of hours and never for the number of minutes, it would be easier to define your fields as number type fields with no decimals, the formula still being a substraction.

Regards,

Pascal

MKRHP
4 - Data Explorer
4 - Data Explorer

This is great. Thank you very much