Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,872
Default problem with time subtraction

Hi,

Am Sat, 27 Apr 2013 13:34:12 +0100 schrieb lozzauk13:

right ive solved some of that issue, the only issues i have at the
moment now is different amounts on the same calculation and also it
showing 30 mins break on blank boxes(i need the blanks incase a date
gets added)


then try:
=IF(OR(B1="",A1=""),"",B1-A1-IF(B1-A1=0.5,1/24,1/48))


Regards
Claus Busch
--
Win XP PRof SP2 / Vista Ultimate SP2
Office 2003 SP2 /2007 Ultimate SP2
  #2   Report Post  
Junior Member
 
Posts: 4
Default

Quote:
Originally Posted by Claus Busch View Post
Hi,

Am Sat, 27 Apr 2013 13:34:12 +0100 schrieb lozzauk13:

right ive solved some of that issue, the only issues i have at the
moment now is different amounts on the same calculation and also it
showing 30 mins break on blank boxes(i need the blanks incase a date
gets added)


then try:
=IF(OR(B1="",A1=""),"",B1-A1-IF(B1-A1=0.5,1/24,1/48))


Regards
Claus Busch
--
Win XP PRof SP2 / Vista Ultimate SP2
Office 2003 SP2 /2007 Ultimate SP2
thanks claus that took away the ###### and ive hidden the break box just so it states the total hours minus the break, its just the difference in 31 x 7.18 and 31 x 7:18 now thats causing the issue.
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,872
Default problem with time subtraction

Hi,

Am Sat, 27 Apr 2013 16:15:16 +0100 schrieb lozzauk13:

thanks claus that took away the ###### and ive hidden the break box just
so it states the total hours minus the break, its just the difference in
31 x 7.18 and 31 x 7:18 now thats causing the issue.


you can't set 7.18 = 7:18
7:18 is 7 hours and 18 minutes
7,18 is 7 hours and 10 minutes

That will make a difference of 4,13 hours or
4:08


Regards
Claus Busch
--
Win XP PRof SP2 / Vista Ultimate SP2
Office 2003 SP2 /2007 Ultimate SP2
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Time subtraction Dgwood90 Excel Worksheet Functions 3 December 20th 08 05:21 PM
subtraction off time after midnight Steved Excel Worksheet Functions 2 May 24th 06 01:46 AM
time subtraction problem Excel Worksheet Functions 6 July 15th 05 06:57 PM
subtraction with time format cells Stefano Excel Worksheet Functions 2 March 17th 05 03:06 PM
decimal time subtraction please. Steved Excel Worksheet Functions 6 November 25th 04 01:07 AM


All times are GMT +1. The time now is 10:04 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"