Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Ignore text in timecard calculation

I am trying to develop a formula that breaks out regular and over-time on
employee timecards. The timecard cell entries can be numeric for work hours
or text for such things as V for vacation, or A for absent, and so on. I can
SUM the total hours for the week and the formula treats text days as zero so
the SUM function works. But, I cannot get the IF function to ignore text days
and only split regular and overtime from the week's work hours. It has to be
able to calculate each day because the regular work day is 8 hours, anything
over 8 hours in a day is overtime, so each day must be evaluated. My aim is
to create a standardized worksheet for supervisors to use that can also be
used to upload the split hours directly into a payroll summary worksheet.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,572
Default Ignore text in timecard calculation

Hours are entered in A2 to A8.

For overtime total try:

=SUMIF(A2:A8,"8")-(8*COUNTIF(A2:A8,"8"))
--

HTH,

RD
================================================== ===
Please keep all correspondence within the Group, so all may benefit!
================================================== ===


"Rico Suave" wrote in message
...
I am trying to develop a formula that breaks out regular and over-time on
employee timecards. The timecard cell entries can be numeric for work hours
or text for such things as V for vacation, or A for absent, and so on. I can
SUM the total hours for the week and the formula treats text days as zero so
the SUM function works. But, I cannot get the IF function to ignore text
days
and only split regular and overtime from the week's work hours. It has to be
able to calculate each day because the regular work day is 8 hours, anything
over 8 hours in a day is overtime, so each day must be evaluated. My aim is
to create a standardized worksheet for supervisors to use that can also be
used to upload the split hours directly into a payroll summary worksheet.


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
Ignore calculation when criteria exceeds 12 Sarah (OGI) Excel Discussion (Misc queries) 5 October 30th 08 03:45 PM
Ignore calculation if text AndyB Excel Worksheet Functions 4 November 29th 07 02:35 PM
Median calculation and ignore zeros coastal Excel Discussion (Misc queries) 5 February 12th 07 11:27 PM
calculation to ignore a 0 (zero) value seedy3 Excel Worksheet Functions 3 April 24th 06 02:35 PM
Can a calculation ignore text if it occurs in formula's cell range Sally Excel Worksheet Functions 2 November 18th 05 04:48 PM


All times are GMT +1. The time now is 11:24 AM.

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

About Us

"It's about Microsoft Excel"