Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 08-28-2011, 08:57 PM
WinIDS WinIDS is offline Calculating Weekend Allowance Windows 7 64bit Calculating Weekend Allowance Office 2003
Novice
Calculating Weekend Allowance
 
Join Date: Aug 2011
Posts: 3
WinIDS is on a distinguished road
Default Calculating Weekend Allowance

Hi all,



I'm stuck with a calculation on weekend allowance. Workers would be paid a set allowance if they have worked on Sundays.

I have a spreadsheet set up to calculate the payment for an entire month. The dates lie on D2:AH2 and the number of hours worked per person are directly below, (e.g. D6:AH6,D7:AH7, etc). The number of hours worked would show 'A' if the person if absent.

To calculate the number of Sundays worked, I have tried SUMPRODUCT(--(D6:AH6>0),--(WEEKDAY($D$2:$AH$2)=1)), but it seems to give me 4 every time. Any ideas?
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Calculating Weekend Allowance Calculating dates Daria11 Word VBA 1 06-08-2011 06:54 PM
calculating points and division in excel edward masoya Excel 1 05-09-2011 06:31 AM
Calculating Weekend Allowance Calculating age at date jamierbooth Excel 2 02-22-2011 03:35 AM
Calculating Form Fields in Microsoft Word wubba80 Word 1 06-25-2010 12:42 AM
Code to auto-forward weekend messages Whang Outlook 0 06-16-2010 02:18 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 11:59 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft