A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Subtract 30 minutes from Formula



 
 
Thread Tools Display Modes
  #1  
Old August 25th, 2008, 09:34 PM posted to microsoft.public.excel.worksheet.functions
Karen
external usenet poster
 
Posts: 1,223
Default Subtract 30 minutes from Formula

I have a cell that calculates my time with the following formula:
=TEXT(C205-B205,"[h] \h\r\s: m \m\i\n\s")

I want to subtract 30 minutes for lunch. How would I adjust the formula to
calculate that?

Thanks, Karen
  #2  
Old August 25th, 2008, 09:42 PM posted to microsoft.public.excel.worksheet.functions
Ron Coderre
external usenet poster
 
Posts: 620
Default Subtract 30 minutes from Formula

Try something like this:
=TEXT(C205-B205-TIME(,30,),"[h] \h\r\s: m \m\i\n\s")

Is that something you can work with?
***********
Regards,
Ron

XL2003, WinXP


"Karen" wrote:

I have a cell that calculates my time with the following formula:
=TEXT(C205-B205,"[h] \h\r\s: m \m\i\n\s")

I want to subtract 30 minutes for lunch. How would I adjust the formula to
calculate that?

Thanks, Karen

  #3  
Old August 25th, 2008, 09:42 PM posted to microsoft.public.excel.worksheet.functions
T. Valko
external usenet poster
 
Posts: 15,759
Default Subtract 30 minutes from Formula

Try this:

=TEXT(C205-B205-TIME(0,30,0),"[h] \h\r\s: m \m\i\n\s")

--
Biff
Microsoft Excel MVP


"Karen" wrote in message
...
I have a cell that calculates my time with the following formula:
=TEXT(C205-B205,"[h] \h\r\s: m \m\i\n\s")

I want to subtract 30 minutes for lunch. How would I adjust the formula to
calculate that?

Thanks, Karen



  #4  
Old August 25th, 2008, 09:46 PM posted to microsoft.public.excel.worksheet.functions
John C[_2_]
external usenet poster
 
Posts: 1,350
Default Subtract 30 minutes from Formula

Assuming C205 and B205 are valid times....
change your formula to this:
....C205-B205-30/60/24,...

Hope this helps.
--
John C


"Karen" wrote:

I have a cell that calculates my time with the following formula:
=TEXT(C205-B205,"[h] \h\r\s: m \m\i\n\s")

I want to subtract 30 minutes for lunch. How would I adjust the formula to
calculate that?

Thanks, Karen

  #5  
Old August 25th, 2008, 10:04 PM posted to microsoft.public.excel.worksheet.functions
Karen
external usenet poster
 
Posts: 1,223
Default Subtract 30 minutes from Formula

Thank you for your help
Karen

"Ron Coderre" wrote:

Try something like this:
=TEXT(C205-B205-TIME(,30,),"[h] \h\r\s: m \m\i\n\s")

Is that something you can work with?
***********
Regards,
Ron

XL2003, WinXP


"Karen" wrote:

I have a cell that calculates my time with the following formula:
=TEXT(C205-B205,"[h] \h\r\s: m \m\i\n\s")

I want to subtract 30 minutes for lunch. How would I adjust the formula to
calculate that?

Thanks, Karen

  #6  
Old August 25th, 2008, 10:04 PM posted to microsoft.public.excel.worksheet.functions
Karen
external usenet poster
 
Posts: 1,223
Default Subtract 30 minutes from Formula

Thank you for your help
Karen

"John C" wrote:

Assuming C205 and B205 are valid times....
change your formula to this:
...C205-B205-30/60/24,...

Hope this helps.
--
John C


"Karen" wrote:

I have a cell that calculates my time with the following formula:
=TEXT(C205-B205,"[h] \h\r\s: m \m\i\n\s")

I want to subtract 30 minutes for lunch. How would I adjust the formula to
calculate that?

Thanks, Karen

  #7  
Old August 25th, 2008, 10:04 PM posted to microsoft.public.excel.worksheet.functions
Karen
external usenet poster
 
Posts: 1,223
Default Subtract 30 minutes from Formula

Thank you for your help
Karen

"T. Valko" wrote:

Try this:

=TEXT(C205-B205-TIME(0,30,0),"[h] \h\r\s: m \m\i\n\s")

--
Biff
Microsoft Excel MVP


"Karen" wrote in message
...
I have a cell that calculates my time with the following formula:
=TEXT(C205-B205,"[h] \h\r\s: m \m\i\n\s")

I want to subtract 30 minutes for lunch. How would I adjust the formula to
calculate that?

Thanks, Karen




  #8  
Old August 25th, 2008, 10:10 PM posted to microsoft.public.excel.worksheet.functions
Karen
external usenet poster
 
Posts: 1,223
Default Subtract 30 minutes from Formula

What formula do I use if I want to convert 8 hrs: 45 mins to 8.75?
Thanks again, Karen

"Ron Coderre" wrote:

Try something like this:
=TEXT(C205-B205-TIME(,30,),"[h] \h\r\s: m \m\i\n\s")

Is that something you can work with?
***********
Regards,
Ron

XL2003, WinXP


"Karen" wrote:

I have a cell that calculates my time with the following formula:
=TEXT(C205-B205,"[h] \h\r\s: m \m\i\n\s")

I want to subtract 30 minutes for lunch. How would I adjust the formula to
calculate that?

Thanks, Karen

  #9  
Old August 25th, 2008, 10:24 PM posted to microsoft.public.excel.worksheet.functions
Rick Rothstein \(MVP - VB\)[_1187_]
external usenet poster
 
Posts: 1
Default Subtract 30 minutes from Formula

Assuming your hours and minutes are in the standard hh:mm format (that is,
8:45 is in the cell), then use...

=24*A1

and format the cell A1 as General.

Rick


"Karen" wrote in message
...
What formula do I use if I want to convert 8 hrs: 45 mins to 8.75?
Thanks again, Karen

"Ron Coderre" wrote:

Try something like this:
=TEXT(C205-B205-TIME(,30,),"[h] \h\r\s: m \m\i\n\s")

Is that something you can work with?
***********
Regards,
Ron

XL2003, WinXP


"Karen" wrote:

I have a cell that calculates my time with the following formula:
=TEXT(C205-B205,"[h] \h\r\s: m \m\i\n\s")

I want to subtract 30 minutes for lunch. How would I adjust the formula
to
calculate that?

Thanks, Karen


  #10  
Old August 25th, 2008, 11:26 PM posted to microsoft.public.excel.worksheet.functions
T. Valko
external usenet poster
 
Posts: 15,759
Default Subtract 30 minutes from Formula

You're welcome!

--
Biff
Microsoft Excel MVP


"Karen" wrote in message
...
Thank you for your help
Karen

"T. Valko" wrote:

Try this:

=TEXT(C205-B205-TIME(0,30,0),"[h] \h\r\s: m \m\i\n\s")

--
Biff
Microsoft Excel MVP


"Karen" wrote in message
...
I have a cell that calculates my time with the following formula:
=TEXT(C205-B205,"[h] \h\r\s: m \m\i\n\s")

I want to subtract 30 minutes for lunch. How would I adjust the formula
to
calculate that?

Thanks, Karen






 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 08:26 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.