Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Statutory Hrs Calculation


I have a payroll timesheet tracking hours worked, with rows corresponding to
the names of employees and columns corresponding to dates of the pay period
(14 days in each pay period). Each pay period is currently stored as a
separate worksheet, e.g. Oct1 for the first pay period of October, then Oct2,
Nov1, etc.

What I'm trying to do is create a function that would check if there is a
"STAT" word above each date. If yes, then count the nonzero cells in 30 days
preceding the STAT date, and if count is = 15, sum all values in those 30
cells. What is the best way to do it? I thought of combining the worksheets
into one containing 44 days and carrying forward the 44-day cut off as the
first step. Do I need to do that?

Thank you.
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
Calculation dhstein Excel Discussion (Misc queries) 2 May 18th 09 12:35 PM
Calculation using IF Bill R Excel Worksheet Functions 6 March 23rd 09 07:46 PM
Multi threaded calculation (multi CPU) - impact on calculation spe Pascal[_2_] Excel Discussion (Misc queries) 1 December 3rd 08 10:46 AM
How do I use a rounded calculation result in another calculation? vnsrod2000 Excel Worksheet Functions 1 January 26th 05 10:11 PM
How do I use a rounded calculation result in another calculation? vnsrod2000 Excel Worksheet Functions 1 January 26th 05 09:36 PM


All times are GMT +1. The time now is 09:07 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"