time guru needed

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



I have a relatively simple problem, but finding it complex to solve,

i'm entering start and finish times in in 24hr format (some going over
2400) and i need to manipulate these times to find,

a) total hours for a job (ie start 1055 end 0130 = 2:35)
b)different rates of pay for job (first hour of job charged at $40,
remainder of time charged at $35)
c)some jobs being charged at different rates as well (ie $40/$35 and
$50/$40 and so on)

I have tried;
=F4-E4+IF(E4>F4,1) for a) and it works fantastically but when i
try to get the rest it goes wrong

I tried to do an IF statement (so jobs going over 1hr i can isolate
the remaining time)
=IF(L4>A1,L4-A1+IF(A1>L4,1),0) where A1 is 1hr and L4 is result of
previous calculation. this seems to work but when a job is under 1hr i
get a negative result?? (so i assume IF statement not working as I
expected.)

Could the answer be in the cell formatting?? in the start/finish
columns i'm using h:mm (entering the : is driving me nuts), in 'L'
column I'm using [hh]:mm

The different charge rates are going to be another IF calculation
based on 'alpha's' that I havent even got to yet because solving b) is
driving me insane....

Any input would be greatly appreciated
.



Relevant Pages

  • Re: time guru needed
    ... time format), try this formula. ... Could the answer be in the cell formatting?? ... The different charge rates are going to be another IF calculation ...
    (microsoft.public.excel.worksheet.functions)
  • Re: time guru needed
    ... i'm entering start and finish times in in 24hr format (some going over ... Could the answer be in the cell formatting?? ... The different charge rates are going to be another IF calculation ...
    (microsoft.public.excel.worksheet.functions)
  • Re: Date Format for Userform TextBox
    ... my company have been entering dates in this format for the past decade so it ... I have a userform that uses a textbox fot entering a date: ... However when I type 2/3 in the textbox in the userform it returs 3/Feb/2009 ... the textbox interprets the 2 as the month and the 3 as the date. ...
    (microsoft.public.excel.newusers)
  • Re: how can I format a .csv file from external data?
    ... You can sum or count on a condition using Sumif and Countif ... assume Charge is in Column f ... > I am trying to format a worksheet to look the way it is most useful to me. ... > can get our daily totals for each class. ...
    (microsoft.public.excel.programming)
  • Re: Format a textbox
    ... the format is not preserved. ... In addition to this I would set the MaxLength of the TextBox to 13 to limit the number of digits after the hypen to 4. ... Private Sub TextBox1_KeyUp ... For instance when a person is entering the ...
    (microsoft.public.excel.programming)