A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Timetable problem



 
 
Thread Tools Display Modes
  #1  
Old January 4th, 2010, 07:41 PM posted to microsoft.public.excel.worksheet.functions
Albert.Harmse
external usenet poster
 
Posts: 1
Default Timetable problem

Hi
I need to calculate the time worked for the employees on a weekly and
monthly basis, but knowing all employees they are not always at work. So we
use abbreviations like i.e AWOL, SICK exe. What formula will I use to add any
text as zero hours worked.

Any help with this will be greatly appreciated.

Regards

Albert.Harmse
  #2  
Old January 4th, 2010, 07:46 PM posted to microsoft.public.excel.worksheet.functions
IanC
external usenet poster
 
Posts: 69
Default Timetable problem


"Albert.Harmse" wrote in message
...
Hi
I need to calculate the time worked for the employees on a weekly and
monthly basis, but knowing all employees they are not always at work. So
we
use abbreviations like i.e AWOL, SICK exe. What formula will I use to add
any
text as zero hours worked.

Any help with this will be greatly appreciated.

Regards

Albert.Harmse


I don't understand your problem. AWOL, SICK etc are not numeric, so in any
calculation they are effectively zero.

--
Ian
--


  #3  
Old January 4th, 2010, 07:50 PM posted to microsoft.public.excel.worksheet.functions
Per Jessen
external usenet poster
 
Posts: 686
Default Timetable problem

Hi

Just use =Sum(A1:A10)

It will sum numeric values in the range only.

Regards,
Per

"Albert.Harmse" skrev i
meddelelsen ...
Hi
I need to calculate the time worked for the employees on a weekly and
monthly basis, but knowing all employees they are not always at work. So
we
use abbreviations like i.e AWOL, SICK exe. What formula will I use to add
any
text as zero hours worked.

Any help with this will be greatly appreciated.

Regards

Albert.Harmse


  #4  
Old January 4th, 2010, 09:29 PM posted to microsoft.public.excel.worksheet.functions
Albert.Harmse[_2_]
external usenet poster
 
Posts: 2
Default Timetable problem

Maybe this will put some light on my prob. We have a "time in" and "time out"
Row for every day of the month ( Row 1 & 2) with all the names in Column A.
Lets say Mr Harmse worked in Jan the following shifts. on the 1st Jan (B3) 7
and (C3) 17. 2nd Jan (D3) 7 and 17 (E3) on the 3rd Jan (F3) "AWOL" and
"AWOL"(G3). We used replace the "Awol" with 0 and do a simple calculation of
=(C3-B3)+(E3-D3)+(G3-F3). but as soon as there is text in the row it gives a
#value! error. What formula can I use to calculate the hours worked?

Please Help
Albert.harmse

"Per Jessen" wrote:

Hi

Just use =Sum(A1:A10)

It will sum numeric values in the range only.

Regards,
Per

"Albert.Harmse" skrev i
meddelelsen ...
Hi
I need to calculate the time worked for the employees on a weekly and
monthly basis, but knowing all employees they are not always at work. So
we
use abbreviations like i.e AWOL, SICK exe. What formula will I use to add
any
text as zero hours worked.

Any help with this will be greatly appreciated.

Regards

Albert.Harmse


.

  #5  
Old January 4th, 2010, 11:19 PM posted to microsoft.public.excel.worksheet.functions
Ashish Mathur[_2_]
external usenet poster
 
Posts: 1,764
Default Timetable problem

Hi,

Try this. In B2, D2 and F2, type In. In C2, E2 and G2 type Out. Then use
the following formula

=SUMIF(B2:G2,"Out",B3:G3)-SUMIF(B2:G2,"In",B3:G3)

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"Albert.Harmse" wrote in message
...
Maybe this will put some light on my prob. We have a "time in" and "time
out"
Row for every day of the month ( Row 1 & 2) with all the names in Column
A.
Lets say Mr Harmse worked in Jan the following shifts. on the 1st Jan (B3)
7
and (C3) 17. 2nd Jan (D3) 7 and 17 (E3) on the 3rd Jan (F3) "AWOL" and
"AWOL"(G3). We used replace the "Awol" with 0 and do a simple calculation
of
=(C3-B3)+(E3-D3)+(G3-F3). but as soon as there is text in the row it gives
a
#value! error. What formula can I use to calculate the hours worked?

Please Help
Albert.harmse

"Per Jessen" wrote:

Hi

Just use =Sum(A1:A10)

It will sum numeric values in the range only.

Regards,
Per

"Albert.Harmse" skrev i
meddelelsen ...
Hi
I need to calculate the time worked for the employees on a weekly and
monthly basis, but knowing all employees they are not always at work.
So
we
use abbreviations like i.e AWOL, SICK exe. What formula will I use to
add
any
text as zero hours worked.

Any help with this will be greatly appreciated.

Regards

Albert.Harmse


.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 09:34 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.