The Airtable Community will undergo scheduled maintenance on September 17 from 10:00 PM PST to 11:15 PM PST. During this period, you may experience temporary disruptions. We apologize for any inconvenience and appreciate your understanding.
Aug 24, 2023 01:04 PM
Ok so here's the main formula I'm trying to use for my "Monday Pay Hours" field
Solved! Go to Solution.
Aug 24, 2023 05:06 PM
Oh, I still hadn't answered your previous question.
How about a formula like this?
IF(
AND({Monday Start},{Monday End}),
IF(
DATETIME_DIFF({Monday End}, {Monday Start}, 'minutes')/60 >= 5,
DATETIME_DIFF({Monday End}, {Monday Start}, 'minutes')/60 - 0.5,
DATETIME_DIFF({Monday End}, {Monday Start}, 'minutes')/60
),
0
)
Aug 24, 2023 05:06 PM
Oh, I still hadn't answered your previous question.
How about a formula like this?
IF(
AND({Monday Start},{Monday End}),
IF(
DATETIME_DIFF({Monday End}, {Monday Start}, 'minutes')/60 >= 5,
DATETIME_DIFF({Monday End}, {Monday Start}, 'minutes')/60 - 0.5,
DATETIME_DIFF({Monday End}, {Monday Start}, 'minutes')/60
),
0
)
Aug 25, 2023 09:04 AM
@Sho Thank you SO much!!! This worked like a charm! I don't entirely understand it, but it works!
I've been tearing my hair out trying to solve this one for days. Nailed it!