Help

Help needed: Given a checkbox is checked, take value with time format

964 2
cancel
Showing results for 
Search instead for 
Did you mean: 
Christian_Roth
4 - Data Explorer
4 - Data Explorer

Hey guys,

this seems such an easy thing to do, so I am kinda embarrassed to ask. But I can’t find a solution here, neither could I solve it by myself, so your help is much appreciated. :slightly_smiling_face:

The Problem

I have 3 columns:

  1. “Today” = Checkbox
  2. “ET” (for expected time) = Duration in h:mm format
  3. “Planning” = Formula -> this is where the problem comes in :winking_face:

I want to add in Planning the ET value if Today is checked. IF(Today = 1,ET) does the trick.

But it gives out a numeric value. For example, 0:45 will be 2700 in Planning. Clearly I could divide by 60 to get the minute value but I want to format Planning in the same format h:mm than ET is. And I can’t get it done?! :flushed:

Can anyone help?

Thanks!

cR

2 Replies 2

Check the Formatting tab on the field settings:

b07ee5b2a896ce6a346ac98d782eeabe441e2340.png

Also, you can use simply IF(Today,ET).

Christian_Roth
4 - Data Explorer
4 - Data Explorer

@Elias_Gomez_Sainz OMG #lol I can’t believe I tried for an hour with this DATETIME_FORMAT command #facepalm - Sometimes solutions are so easy. Thanks for pointing me to the formatting tab :winking_face: Problem solved!
cR