time

jackdiamond

Board Regular
Joined
Oct 10, 2007
Messages
220
Good morning,

i am looking to do a table which shows time started, time finished and then a total for hours that day, then that week.

Start 08:00
End 16:00
Total 8 hrs.

How can I get the total to display as 8 hrs? not 08:00? When I change the format to "number" it shows 0.33????

Any help please

Thanks
Stu
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
Try this

<b>Sheet9</b><br /><br /><table border="1" cellspacing="0" cellpadding="0" style="font-family:Calibri,Arial; font-size:11pt; background-color:#ffffff; padding-left:2pt; padding-right:2pt; "> <colgroup><col style="font-weight:bold; width:30px; " /><col style="width:64px;" /><col style="width:64px;" /></colgroup><tr style="background-color:#cacaca; text-align:center; font-weight:bold; font-size:8pt; "><td > </td><td >A</td><td >B</td></tr><tr style="height:18px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >1</td><td >Start</td><td style="text-align:right; ">08:00</td></tr><tr style="height:18px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >2</td><td >End</td><td style="text-align:right; ">16:00</td></tr><tr style="height:18px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >3</td><td >Duration</td><td style="text-align:right; ">8.00</td></tr></table><br /><table style="font-family:Arial; font-size:10pt; border-style: groove ;border-color:#00ff00;background-color:#fffcf9; color:#000000; "><tr><td ><b>Spreadsheet Formulas</b></td></tr><tr><td ><table border = "1" cellspacing="0" cellpadding="2" style="font-family:Arial; font-size:9pt;"><tr style="background-color:#cacaca; font-size:10pt;"><td >Cell</td><td >Formula</td></tr><tr><td >B3</td><td >=24*(B2-B1)</td></tr></table></td></tr></table> <br />Excel tables to the web - Excel Jeanie Html 4
 
Upvote 0
dafan,

err....I did not get this one. Request you to please explain a bit about the 'u' in double quotes in the formula.
 
Upvote 0
dafan,

err....I did not get this one. Request you to please explain a bit about the 'u' in double quotes in the formula.
'u' is short for hour in Dutch. The English version would then be
Code:
=TEXT(G2-G1,"h") & " hrs"
On my computer it needs to be an "t" instead.
Darn excel and its localities.:p
 
Upvote 0
so, these people post solutions according to the langauge Excel is equipped on their machines ?
 
Upvote 0
so, these people post solutions according to the langauge Excel is equipped on their machines ?

I guess most of us do ... If I post a formula

=IF(A2>0.1,"High","Low")

somebody in the rest of Europe (and possibly elsewhere) needs to translate this to

=IF(A2>0,1;"High";"Low")

:)
 
Upvote 0
I guess most of us do ... If I post a formula

=IF(A2>0.1,"High","Low")

somebody in the rest of Europe (and possibly elsewhere) needs to translate this to

=IF(A2>0,1;"High";"Low")

:)
Yup. Been having a lot of those issues myself. Every time I copy something I see that's interesting or that I think I can do its the same thing. Formula error.

There's actually some really tricky language issues sometimes. VBA only understands English but the worksheetfunctions can be localised.
I actually noticed something really "interesting" for me. My Excel is in English, and functions use the English syntax. If I want a custom format Excel uses Finnish localisation and finally when typing out e.g. the name of a day it uses Swedish.:p No wonder this is tricky.
 
Upvote 0
Yeah, I'm sorry I'm used to working with an English version on my home machine but at work we use a Dutch version. Comma's have to be ";" , all formulas have other names...very confusing.

The comma and semicolon also depends on your language for the keyboard layout afaik.
 
Upvote 0

Forum statistics

Threads
1,203,453
Messages
6,055,530
Members
444,794
Latest member
HSAL

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top