Using time in an IF formular

cmt1963

New Member
Joined
Dec 14, 2022
Messages
3
Office Version
  1. 365
Platform
  1. Windows
Hi all,
Im trying to use an IF formula to calculate an out put in dollars.

The formula is supposed to have a total number of hours that is a sum of hours worked and deduct the overtime trigger of 65 hours. The result is then muliplied by a dollar amount to give overtime dollars earned. The fomular I have is:

=IF(D35>(65/24), ((D35-(65/24)*120)), 0)

The result should be 126 but the answer I get is $-322.25.

Please, any suggestions as to what I'm doing wrong.
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
Hi & Welcome to MrExcel.

Please post some sample data as we are not able to give any assistance without looking at the data.
You can post data using below XL2BB link
 
Upvote 0
FLT/SIMDHTotal
1​
13:41:00​
13:41:00​
2​
00:00:00​
3​
00:00:00​
4​
20:40:00​
10:20:00​
5​
00:00:00​
6​
12:14:00​
02:55:00​
13:41:30​
7​
00:00:00​
8​
00:00:00​
9​
00:00:00​
10​
07:40:00​
03:50:00​
11​
12:04:00​
12:04:00​
12​
00:00:00​
13​
12:27:00​
12:27:00​
14​
00:00:00​
15​
00:00:00​
16​
00:00:00​
17​
00:00:00​
18​
00:00:00​
19​
00:00:00​
20​
00:00:00​
21​
00:00:00​
22​
00:00:00​
23​
00:00:00​
24​
00:00:00​
25​
00:00:00​
26​
00:00:00​
27​
00:00:00​
28​
00:00:00​
29​
00:00:00​
30​
00:00:00​
31​
00:00:00​
50:26:00​
31:15:00​
66:03:30​
OT Pay
-$322.25​

Excel Formula:
 
Upvote 0
I couldn't get the xl2bb.xlam to install in office 365. I"ll have a go at using the alternative method.
 
Upvote 0

Forum statistics

Threads
1,214,515
Messages
6,119,974
Members
448,934
Latest member
audette89

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top