#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default Formulas

I am making a timesheet specific to my job and can't figure out how to do the
formulas.


I have my total hours for the week tallied up but I need formulas for the
following categories:

Total Regular Hours (44 or less)
Overtime Hours (44.01 or more)

The formulas I need are...I think:

If the weekly hours is less than 44, the Reg Hrs displays that amount of
hours and the O/T displays 0
If the weekly hours equal to 44 hrs then the Reg Hrs displays 44 and the O/T
Hrs displays 0
If the weekly hours is greater than 44 then the Reg Hrs displays 44 and the
O/T Hrs displays the difference.

I just don't understand how Excell does it.

Any help is greatly appreciated.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default Formulas

Oh, by the way........it's Excel 2007

"KB-1" wrote:

I am making a timesheet specific to my job and can't figure out how to do the
formulas.


I have my total hours for the week tallied up but I need formulas for the
following categories:

Total Regular Hours (44 or less)
Overtime Hours (44.01 or more)

The formulas I need are...I think:

If the weekly hours is less than 44, the Reg Hrs displays that amount of
hours and the O/T displays 0
If the weekly hours equal to 44 hrs then the Reg Hrs displays 44 and the O/T
Hrs displays 0
If the weekly hours is greater than 44 then the Reg Hrs displays 44 and the
O/T Hrs displays the difference.

I just don't understand how Excell does it.

Any help is greatly appreciated.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 860
Default Formulas

Hi KB,

With your total hours in A1 put this in B1
=MAX(A1-44,0)

HTH
Martin


"KB-1" wrote in message
...
Oh, by the way........it's Excel 2007

"KB-1" wrote:

I am making a timesheet specific to my job and can't figure out how to do
the
formulas.


I have my total hours for the week tallied up but I need formulas for the
following categories:

Total Regular Hours (44 or less)
Overtime Hours (44.01 or more)

The formulas I need are...I think:

If the weekly hours is less than 44, the Reg Hrs displays that amount of
hours and the O/T displays 0
If the weekly hours equal to 44 hrs then the Reg Hrs displays 44 and the
O/T
Hrs displays 0
If the weekly hours is greater than 44 then the Reg Hrs displays 44 and
the
O/T Hrs displays the difference.

I just don't understand how Excell does it.

Any help is greatly appreciated.



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default Formulas

Thanks MartinW, that worked great for the O/T hours.

What I still have is the total hours needed to be split between Reg hrs and
O/T hrs. I might be making this sound confusing.

I have:
Total Hours as say 60
Regular hours are 44
O/T hours are 16

You helped me get the O/T hours to read the 16 (or 0 if needed) with great
thanks. Now I need to get the Regular Hours to read the 44 or the amount
less than 44 if the Total Hours is less than 44.


for example:
Total Hours 40 Total Hours 48
Regular Hours 40 vs Regular Hours 44
O/T hours 0 O/T hours 4


Any ideas?

Thanks KB-1


"MartinW" wrote:

Hi KB,

With your total hours in A1 put this in B1
=MAX(A1-44,0)

HTH
Martin


"KB-1" wrote in message
...
Oh, by the way........it's Excel 2007

"KB-1" wrote:

I am making a timesheet specific to my job and can't figure out how to do
the
formulas.


I have my total hours for the week tallied up but I need formulas for the
following categories:

Total Regular Hours (44 or less)
Overtime Hours (44.01 or more)

The formulas I need are...I think:

If the weekly hours is less than 44, the Reg Hrs displays that amount of
hours and the O/T displays 0
If the weekly hours equal to 44 hrs then the Reg Hrs displays 44 and the
O/T
Hrs displays 0
If the weekly hours is greater than 44 then the Reg Hrs displays 44 and
the
O/T Hrs displays the difference.

I just don't understand how Excell does it.

Any help is greatly appreciated.




  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,572
Default Formulas

Try this:

=MIN(44,A1)
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------

"KB-1" wrote in message
...
Thanks MartinW, that worked great for the O/T hours.

What I still have is the total hours needed to be split between Reg hrs

and
O/T hrs. I might be making this sound confusing.

I have:
Total Hours as say 60
Regular hours are 44
O/T hours are 16

You helped me get the O/T hours to read the 16 (or 0 if needed) with great
thanks. Now I need to get the Regular Hours to read the 44 or the amount
less than 44 if the Total Hours is less than 44.


for example:
Total Hours 40 Total Hours 48
Regular Hours 40 vs Regular Hours 44
O/T hours 0 O/T hours 4


Any ideas?

Thanks KB-1


"MartinW" wrote:

Hi KB,

With your total hours in A1 put this in B1
=MAX(A1-44,0)

HTH
Martin


"KB-1" wrote in message
...
Oh, by the way........it's Excel 2007

"KB-1" wrote:

I am making a timesheet specific to my job and can't figure out how

to do
the
formulas.


I have my total hours for the week tallied up but I need formulas for

the
following categories:

Total Regular Hours (44 or less)
Overtime Hours (44.01 or more)

The formulas I need are...I think:

If the weekly hours is less than 44, the Reg Hrs displays that amount

of
hours and the O/T displays 0
If the weekly hours equal to 44 hrs then the Reg Hrs displays 44 and

the
O/T
Hrs displays 0
If the weekly hours is greater than 44 then the Reg Hrs displays 44

and
the
O/T Hrs displays the difference.

I just don't understand how Excell does it.

Any help is greatly appreciated.







  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default Formulas

Thanks to the both of you for your help. I could figure it out on paper, in
other programs but couldn't understand Excel's mathematical lingo at all.
Big sigh of relief.

Again thank you very much
KB-1

"Ragdyer" wrote:

Try this:

=MIN(44,A1)
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------

"KB-1" wrote in message
...
Thanks MartinW, that worked great for the O/T hours.

What I still have is the total hours needed to be split between Reg hrs

and
O/T hrs. I might be making this sound confusing.

I have:
Total Hours as say 60
Regular hours are 44
O/T hours are 16

You helped me get the O/T hours to read the 16 (or 0 if needed) with great
thanks. Now I need to get the Regular Hours to read the 44 or the amount
less than 44 if the Total Hours is less than 44.


for example:
Total Hours 40 Total Hours 48
Regular Hours 40 vs Regular Hours 44
O/T hours 0 O/T hours 4


Any ideas?

Thanks KB-1


"MartinW" wrote:

Hi KB,

With your total hours in A1 put this in B1
=MAX(A1-44,0)

HTH
Martin


"KB-1" wrote in message
...
Oh, by the way........it's Excel 2007

"KB-1" wrote:

I am making a timesheet specific to my job and can't figure out how

to do
the
formulas.


I have my total hours for the week tallied up but I need formulas for

the
following categories:

Total Regular Hours (44 or less)
Overtime Hours (44.01 or more)

The formulas I need are...I think:

If the weekly hours is less than 44, the Reg Hrs displays that amount

of
hours and the O/T displays 0
If the weekly hours equal to 44 hrs then the Reg Hrs displays 44 and

the
O/T
Hrs displays 0
If the weekly hours is greater than 44 then the Reg Hrs displays 44

and
the
O/T Hrs displays the difference.

I just don't understand how Excell does it.

Any help is greatly appreciated.





Reply
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
CELLS NOT CALC FORMULAS - VALUES STAY SME FORMULAS CORRECT?? HELP Sherberg Excel Worksheet Functions 4 September 11th 07 01:34 AM
lookup formulas dependent upon lookup formulas Skibee Excel Worksheet Functions 1 July 20th 07 01:06 PM
automatically copy formulas down columns or copy formulas all the HowlingBlue Excel Worksheet Functions 1 March 16th 07 11:11 PM
Formulas not evaluated, Formulas treated as strings Bob Sullentrup Excel Discussion (Misc queries) 0 November 27th 06 08:01 PM
formulas for changing formulas? creativeops Excel Discussion (Misc queries) 4 January 26th 06 03:07 AM


All times are GMT +1. The time now is 02:57 PM.

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"