LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 13
Default Displaying calculated times - half-hours are not calculating...

Good morning!

In A1 I have a time, displayed as hh:mm AM/PM
In A2 I have a time, displayed as hh:mm AM/PM
In A3 I have a non-time number (0, 0.5, or 1.0)
In A4 I have the formula: =(TEXT(C6-B6,"h"))
In A5 I have the formula: =A4-A3

The end result is the difference in times between A2 and A1, minus the
0, 0.5 or 1.0 from A3 to get a total number of hours. The problem is,
A4 will not recognize 1/2 hour times (i.e., A1=9:00 am, A2=1:30 pm
A4=4) And A5 does not recognize the A3 numeral if it is 0.5.
I suspect it has something to do with only displaying "h" but I can't
seem to fix it. It also may have something to do with the Format that
the cells are set to display. (I've tried Customer, hh:mm, and with
the above formulas this definitely does not work).

So if
A1=9:00 am
A2=1:30 pm
A3 =0.5

I would like
A4=4.5
A5=4

I hope my descriptions make sense. If you can offer a solution it
would be highly appreciated!

Thank-you,
Jacob

 
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
Comparing Calculated Times Mike Excel Worksheet Functions 2 July 3rd 06 04:30 AM
calculating times (hours and miniutes) on a time sheet madtech Excel Worksheet Functions 2 June 30th 06 07:40 PM
how do I round hours worked to the next half hour with a 24hr shif gycoso3 Excel Worksheet Functions 1 March 28th 06 09:25 PM
Calculation of hourly rate times hours times 1.5 Newbusinessbod Excel Worksheet Functions 1 December 6th 05 04:44 PM
=Text(b2-A2,"h") hours between 2 times, what do I do for 10 times Jayda New Users to Excel 3 May 18th 05 05:53 PM


All times are GMT +1. The time now is 05:29 AM.

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"