LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Formulas--NEED HELP!

Thank you so much! Your advice helped!

"Bernard Liengme" wrote:

It is such a pity we do not have a better way to display part of a
worksheet. Asy you will see beloew your data got a bit out of line.
However....
I have your numbers 10,19,8,9 in C3:C6, in D7 I have "FW"

To count the FW's and teat them as 8 hours, I will use:
=COUNTIF(D2:D8,"FW")*8
If FW could occur in column C, change this to
=COUNTIF(C2:D8,"FW")*8

So the total hours is given by =SUM(C2:D8) + COUNTIF(D2:D8,"FW")*8
We want to max this out at 40, so we use MIN function
=MIN(SUM(C2:D8)+COUNTIF(D2:D8,"FW")*8,40)
I have this in
To compute over time, in D9 I used
=MAX(0,(SUM(C2:D8)+COUNTIF(D2:D8,"FW")*8-40))
The MAX stops us getting a negative value

best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email


"CSUFurloughTracker" wrote in
message ...
Basically, I am trying to do a tracking sheet for hours and the
"California
State" Furloughs. If some one works on their Furlough day they should be
entering "FW" into the cell. The totals at the bottom of the page should
then
read that FW=8 hours plus any additional time entered for the week. If
someone works over 40 hours then i need to have the weekly total split
into
"regular hours" and "overtime hours."
This is what I have
Week 2
August Date REG OT
Sunday 8/2/09
Monday 8/3/09 10.00
Tuesday 8/4/09 10.00
Wednesday 8/5/09 8.00
Thursday 8/6/09 9.00
Friday 8/7/09 FW
Saturday 8/8/09
Total weekly hours 37.00

This is what I need:
Week 2
August Date REG OT
Sunday 8/2/09
Monday 8/3/09 10.00
Tuesday 8/4/09 10.00
Wednesday 8/5/09 8.00
Thursday 8/6/09 9.00
Friday 8/7/09 FW
Saturday 8/8/09
Total weekly hours 40.00 5.00

I am trying to do two things...

1) Convert the sum of a range of cells {=SUM(C1:D15)} to reflect the
number
8 if "FW" is typed a cell within that range.
Next,
2) If the formula above is 40 then the cell need to convert over the
values
if the above reaches over 40.



 
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 02:20 AM
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 05:27 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"