![]() |
|
|
|||||||
| Computers, Gaming and Mobile Forum All things computer, internet, mobile, tablet and video game related. |
![]() |
|
|
Thread Tools |
|
#1
|
||||
|
||||
|
Excel Question.
A question for the Excel experts out there.
I'm using Excel 2007 to add together a collection of times in hh:mm:ss format. I've set the 'total' column to time format but the problem is that it resets at 24 hours and goes back to 0. For my purposes, more the 24 hours is a valid time. Anyone know how I can stop the 'total' column from resetting and display 25:37:04 ... for instance. Rep and a virtual pint (or celebratory beverager of your choice) for the first answer that works!
__________________
Doctor Mosh says "BOOM!!" |
| BBS Sponsored Links - Please login to hide |
|
|
|
#2
|
||||
|
||||
|
Not sure if this will help. It doesn't say which version of Excel this applies to, but it may work for all versions
http://www.ozgrid.com/Excel/times-past-24.htm I'm not sure if that's what you mean though ![]()
__________________
Woke up, got out of bed, dragged a comb across my head, found my way downstairs and drank a cup, and looking up I noticed I was late.
Found my coat and grabbed my hat, made the bus in seconds flat, found my way upstairs and had a smoke, and Somebody spoke and I went into a dream |
|
#3
|
||||
|
||||
|
Select the cell(s) you want the format
Right mouse click ‘format cells’ Select number, then custom Scroll down until you find the option [h]:mm:ss Select Click OK |
|
#4
|
||||
|
||||
|
You must spread some Reputation around before giving it to Barbara4003 again.
Took a bit of following, but yes it was what I was looking for. Also rep for Palestinian for the clear, simple instructions. Virtual drinks on the way. ![]()
__________________
Doctor Mosh says "BOOM!!" |
|
#5
|
||||
|
||||
|
Been to the bar ...
A pint for Palestinian ...
__________________
Doctor Mosh says "BOOM!!" |
|
#6
|
||||
|
||||
|
And for Barbara, I wasn't sure what to get but this looked interesting.
![]()
__________________
Doctor Mosh says "BOOM!!" |
|
#7
|
||||
|
||||
|
Damn, too slow. A virtual pint would have gone down nicely!
__________________
Please consider sponsoring me to run the London Marathon on behalf of the British Lung Foundation www.virginmoneygiving.com/GrahamJohnson That's just the ramblings of a madman Quote:
|
|
#8
|
||||
|
||||
|
Quote:
That does look interesting. Thanks ![]()
__________________
Woke up, got out of bed, dragged a comb across my head, found my way downstairs and drank a cup, and looking up I noticed I was late.
Found my coat and grabbed my hat, made the bus in seconds flat, found my way upstairs and had a smoke, and Somebody spoke and I went into a dream |
|
#9
|
||||
|
||||
|
Quote:
Or if you can't be bothered to scroll down, just type it in the box
__________________
Please consider sponsoring me to run the London Marathon on behalf of the British Lung Foundation www.virginmoneygiving.com/GrahamJohnson That's just the ramblings of a madman Quote:
|
|
#10
|
||||
|
||||
|
Quote:
|
|
#11
|
||||
|
||||
|
Excel formulae are the work of the devil
Where's my pint?
__________________
Knowledge is knowing that a tomato is a fruit. Wisdom is knowing not to put it in a fruit salad. www.thecronx.com Twitter: @TheCronxBrewery |
|
#12
|
||||
|
||||
|
Rather than start a new thread, I thought i'd give this a little bump.
I'm trying to put together a spreadsheet which details commission payments - only problem is, it's based on a hockey-stick type nightmare. Basically, as an example, if your target is 100,000, you'd get 1% for the first 80,000, then 2% for the next 20,000, then 3% for the next 15,000 and so on. I am really not sure how to reflect this in an excel formula, what with them being the work of the devil. Every time I try to do this, it seems to just take the whole value (so, at 90,000, it counts everything at 2%). Anyone got any suggestions? Thanks!
__________________
I know I believe in nothing but at least it is my nothing. |
|
#13
|
||||
|
||||
|
Quote:
Just do it as a sum of different bits - something like = (80000 * 0.01) + (20000 * 0.02) + (15000 * 0.03) etc. If it depends on the amount then you might need to include some if clauses - eg = if (A1< 80000,A1 * 0.01, (if(A1<100000, (80000 * 0.01) + ((a1-80000)*0.02) etc If you're stuggling, let me know the actual bands & I'll whip up a formula for you
__________________
Please consider sponsoring me to run the London Marathon on behalf of the British Lung Foundation www.virginmoneygiving.com/GrahamJohnson That's just the ramblings of a madman Quote:
|
|
#14
|
||||
|
||||
|
The brilliant Mr Statto saves the day.
Thanks again!
__________________
I know I believe in nothing but at least it is my nothing. |
|
#15
|
||||
|
||||
|
I have an Excel question.
How can I retrieve a password from a protected document without downloading any software from the internet ? If anyone can help me it is worth serious beers......
__________________
So kiss me and smile for me Tell me that you'll wait for me Hold me like you'll never let me go. I'm leaving on a jet plane Don't know when I'll be back again. |
|
#16
|
||||
|
||||
|
Sorry the only way I know to remove/change a password is to use an downloaded editor. The one i tend to use is hex editor neo
|
|
#17
|
||||
|
||||
|
Quote:
Ok, I have downloaded it and opened the excel file in the editor. Where/how do i see the protected password ??
__________________
So kiss me and smile for me Tell me that you'll wait for me Hold me like you'll never let me go. I'm leaving on a jet plane Don't know when I'll be back again. |
|
#18
|
||||
|
||||
|
Close the workbook and open the workbook file in the hex editor. Find the string "DPB" and change it to "DPx". Save the file. Open the workbook and click OK until the workbook is open (one or more dialogs are displayed describing various problems with the VBA project). Press ALT+F11, choose the menu command Tools->VBAProject Properties, navigate to the Protection tab, and change the password but do not remove it (note the new password). Save, close, and re-open the workbook. Press ALT+F11 and enter the new password. Choose Tools->VBAProject Properties, navigate to the Protection tab, and remove the password. Save the workbook.
|
|
#19
|
||||
|
||||
|
Quote:
Thanks, but this works but doesnt show me the original password which is what I need. How can I locate the original password ?
__________________
So kiss me and smile for me Tell me that you'll wait for me Hold me like you'll never let me go. I'm leaving on a jet plane Don't know when I'll be back again. |
|
#20
|
||||
|
||||
|
Not sure how to display what the original password was, surely resetting the password sorts out your issues
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|
|
All times are GMT. The time now is 10:31 AM.
|
|
|
|