Help Creating Macro
Closed
joaopedr1
Posts
1
Registration date
Thursday January 23, 2014
Status
Member
Last seen
January 23, 2014
-
Jan 23, 2014 at 07:41 AM
TrowaD Posts 2921 Registration date Sunday September 12, 2010 Status Moderator Last seen December 27, 2022 - Apr 8, 2014 at 11:48 AM
TrowaD Posts 2921 Registration date Sunday September 12, 2010 Status Moderator Last seen December 27, 2022 - Apr 8, 2014 at 11:48 AM
Related:
- Help Creating Macro
- Spell number in excel without macro - Guide
- Excel macro to create new sheet based on value in cells - Guide
- Macro excel download - Download - Spreadsheets
- Run macro on opening workbook - Guide
- Creating a youtube account - Guide
3 responses
TrowaD
Posts
2921
Registration date
Sunday September 12, 2010
Status
Moderator
Last seen
December 27, 2022
555
Apr 8, 2014 at 11:48 AM
Apr 8, 2014 at 11:48 AM
Hi Joaopedr1,
Try this:
B3 = Start time
C3 = Break start
D3 = Break end
C3: =IF(AND(B3>=8/24,B3<=9/24),12.5/24,IF(AND(B3>=9.25/24,B3<=10/24),13/24,"Invalid Starttime"))
D3: =C3+1/24
Format your cells as U:MM.
Best regards,
Trowa
Try this:
B3 = Start time
C3 = Break start
D3 = Break end
C3: =IF(AND(B3>=8/24,B3<=9/24),12.5/24,IF(AND(B3>=9.25/24,B3<=10/24),13/24,"Invalid Starttime"))
D3: =C3+1/24
Format your cells as U:MM.
Best regards,
Trowa