Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Chappy
 
Posts: n/a
Default Subtracting 2 hours from time

Hiya,

I've got a prob which is probably very easy to fix but is leavin me
scratchin my head.

I've got time set in cells and want to take 2 hours from this value. So I'm
trying to change, say, 1:30 to 23:30 etc.

any ideas?? Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.misc
Peo Sjoblom
 
Posts: n/a
Default Subtracting 2 hours from time

With 01:30 in A1

=MOD(A1-"02:00",1)

replace "02:00" with a cell where you put the time you want to subtract

--

Regards,

Peo Sjoblom

Excel 95 - Excel 2007
Northwest Excel Solutions
www.nwexcelsolutions.com
"It is a good thing to follow the first law of holes;
if you are in one stop digging." Lord Healey


"Chappy" wrote in message
...
Hiya,

I've got a prob which is probably very easy to fix but is leavin me
scratchin my head.

I've got time set in cells and want to take 2 hours from this value. So
I'm
trying to change, say, 1:30 to 23:30 etc.

any ideas?? Thanks.



  #3   Report Post  
Posted to microsoft.public.excel.misc
Chappy
 
Posts: n/a
Default Subtracting 2 hours from time

Thanks Peo!
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
Formula for a time card skateblade Excel Worksheet Functions 6 November 2nd 05 09:28 PM
how to calulate time in hours cbetween two different dates? shonkoo Excel Worksheet Functions 3 October 30th 05 03:30 AM
Adding time in hours Jono Excel Discussion (Misc queries) 2 September 22nd 05 12:46 PM
Time Sheet to show hours owed Carolan Excel Worksheet Functions 0 September 16th 05 03:38 PM
Is there a time sheet template that calculates hours? CTG Excel Discussion (Misc queries) 2 February 16th 05 09:27 AM


All times are GMT +1. The time now is 05:20 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"