Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Bren
 
Posts: n/a
Default Creat a formula to calculate working hrs according to number of da

How do I write a formula to sum the number of working hours according to pass
28 days. That is, based on the last 28 days, how many hours have I worked
(,considering that I do not work everyday).

For example, what I have in the excel worksheet:
Column A - dates
Colume B - working hours

Any advise would be appreciated.

Thanks.
  #2   Report Post  
Alex Delamain
 
Posts: n/a
Default


Try the following:
Col A is dates
Col B is hours worked that day

=SUMPRODUCT((A1:A50TODAY()-28)*(B1:B50))

Hope this helps


--
Alex Delamain
------------------------------------------------------------------------
Alex Delamain's Profile: http://www.excelforum.com/member.php...o&userid=11273
View this thread: http://www.excelforum.com/showthread...hreadid=391217

  #3   Report Post  
Bren
 
Posts: n/a
Default

Hi Alex,

Thank you for your help.

I have applied the formula but the hours came out zero. If you don't mind,
I would like to send over my spreadsheet for your review. If its ok with
you, please advise your email address by sending it to .

Regards
Bren.


"Alex Delamain" wrote:


Try the following:
Col A is dates
Col B is hours worked that day

=SUMPRODUCT((A1:A50TODAY()-28)*(B1:B50))

Hope this helps


--
Alex Delamain
------------------------------------------------------------------------
Alex Delamain's Profile:
http://www.excelforum.com/member.php...o&userid=11273
View this thread: http://www.excelforum.com/showthread...hreadid=391217


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
How to calculate the day before last two working day of each month Angus Excel Discussion (Misc queries) 1 June 29th 05 12:22 PM
calculate number of working days philc Excel Worksheet Functions 2 June 1st 05 07:48 AM
Formula entered not working Thrava Excel Discussion (Misc queries) 5 March 6th 05 09:18 PM
formula to calculate # of days between dates, excluding holidays abs2299 Excel Discussion (Misc queries) 8 March 3rd 05 02:21 AM
formula to calculate a time sheet tintin103 Excel Worksheet Functions 1 January 17th 05 09:45 PM


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