Help With Time Formula's

AlanWade

Board Regular
Joined
Oct 12, 2010
Messages
62
HI,
In cell K12 I have this formula: =IF(AND(B12<0,0625;B12<>"");B12;"") which gets its info from cell B12 assuming I start work earlier than 01:30.
In cell L12 I have this formula: =IF(AND(B12<0,0625;B12<>"");0,0625;"") which only writes 01:30 if B12 is earlier than 01:30
In cell M12 this is the formula: =IF(COUNT(K12:L12)=2;MOD(L12-K12;1);"") which works out the time difference between K12 and L12.
I want to delete the column 'M' as it is meaningless, I mean if I start work before 01:30 the overtime is always calculated untill 01:30 so I dont need it on the sheet.
How can I modify the formula's to always calculate time worked before 01:30 without having a column with 01:30 in it.

Thanks for any help

Alan
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.

Forum statistics

Threads
1,224,565
Messages
6,179,549
Members
452,927
Latest member
rows and columns

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