ExcelTip.com
Account Icon Account Icon Account Icon
ExcelTip.com

Go Back   Excel Help Forum > Limelight Media - ExcelTip.com Books > F1 Get the most out of Excel Formulas & Functions

Notices

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 09-01-2007, 05:27 PM
uhcord98 uhcord98 is offline
Registered User
 
Join Date: 11 Aug 2007
Posts: 24
uhcord98 is on a distinguished road
Counting the days worked and days remaining on a schedule automatically

I've saw an excel spreadsheet that did this before; however, I have no idea where to start on this. I'm basically looking for a forumla that will count each employees total scheduled work days for the month inserted and then depening upon the day it is will show how many days the employee has left to work for the month.
Attached Files
File Type: zip SCHEDULE.zip (8.3 KB, 49 views)
Reply With Quote
  #2  
Old 09-01-2007, 06:03 PM
daddylonglegs's Avatar
daddylonglegs daddylonglegs is offline
Forum Moderator
 
Join Date: 14 Jan 2006
Location: England
Posts: 4,920
daddylonglegs will become famous soon enough daddylonglegs will become famous soon enough
Hello uhcord98,

Really, given your setup, to calculate this using formula(s) is possible but much trickier than it could be if your setup was different.

I understand that you probably want to show the schedule in weeks as you have but it would be much easier if you had all the dates down column A and employee names across row 1. At the very least you need to use "true dates" in row 2, 11, 20 etc.

Just so that I understand what you want....you talk about "the month"....are you referring to the calendar month or do you consider the whole 6 weeks shown to be a month?

Would the current day be part of the days worked or days remaining?
Reply With Quote
  #3  
Old 09-01-2007, 06:08 PM
uhcord98 uhcord98 is offline
Registered User
 
Join Date: 11 Aug 2007
Posts: 24
uhcord98 is on a distinguished road
I actually worded it wrong, I'm sorry.

What I was looking for is to count the total number of scheduled work days (for each employee) for the month and display this data.

In addition to this, I was looking for excel to see hey it is September 15th, only count the days from here on to display total days left to work for the month.
Reply With Quote
  #4  
Old 09-01-2007, 06:26 PM
uhcord98 uhcord98 is offline
Registered User
 
Join Date: 11 Aug 2007
Posts: 24
uhcord98 is on a distinguished road
So I changed the format, I put the dates into column 1 and have the employees displayed in the rows going across.

I put the formula in to count the total days worked, and I just need to figure out a formula to count the scheduled work days left for the month.
Attached Files
File Type: zip schedule2example.zip (1.9 KB, 48 views)
Reply With Quote
  #5  
Old 09-02-2007, 10:03 AM
daddylonglegs's Avatar
daddylonglegs daddylonglegs is offline
Forum Moderator
 
Join Date: 14 Jan 2006
Location: England
Posts: 4,920
daddylonglegs will become famous soon enough daddylonglegs will become famous soon enough
Try

=SUMIF(A2:A32,">"&B35,B2:B32)
Reply With Quote
  #6  
Old 09-02-2007, 11:39 PM
uhcord98 uhcord98 is offline
Registered User
 
Join Date: 11 Aug 2007
Posts: 24
uhcord98 is on a distinguished road
hum, i couldn't get that to work. it just puts 0 in there.
Reply With Quote
  #7  
Old 09-03-2007, 12:07 AM
uhcord98 uhcord98 is offline
Registered User
 
Join Date: 11 Aug 2007
Posts: 24
uhcord98 is on a distinguished road
Trying seeing my final example here to see if it helps any...thanks in advance i know this is a tough problem to solve.
Attached Files
File Type: zip schedule_test.zip (3.8 KB, 38 views)
Reply With Quote
  #8  
Old 09-03-2007, 01:17 AM
uhcord98 uhcord98 is offline
Registered User
 
Join Date: 11 Aug 2007
Posts: 24
uhcord98 is on a distinguished road
I've ALMOST got it figured out.

What I did is made another sheet that has each date with how many days is left (on each date i put in a seperate formula that only counts from that day on). Lengthy to get going I know, but once the workbook is complete it will save me hours everyday.

Now, all I need is a formula that will look at the date I enterted, go to sheet 3 and insert the value right beaneth that date. (So if I enterted "3rd" for today's date, it would go to sheet 3 and look at the value right under the "3rd").

I posted an update workbook.
Attached Files
File Type: zip schedule_test.zip (63.2 KB, 59 views)
Reply With Quote
  #9  
Old 09-03-2007, 08:28 PM
daddylonglegs's Avatar
daddylonglegs daddylonglegs is offline
Forum Moderator
 
Join Date: 14 Jan 2006
Location: England
Posts: 4,920
daddylonglegs will become famous soon enough daddylonglegs will become famous soon enough
Quote:
Originally Posted by uhcord98
hum, i couldn't get that to work. it just puts 0 in there.
In your example it'll give zero because the dates you have are all in the past. If you put september dates in there then days to be worked in the future should be summed
Reply With Quote
  #10  
Old 09-03-2007, 09:26 PM
uhcord98 uhcord98 is offline
Registered User
 
Join Date: 11 Aug 2007
Posts: 24
uhcord98 is on a distinguished road
sweet, your right that does work. how exactly does the formula breakdown so i now how to use it for future reference?
Reply With Quote
Reply

Bookmarks

New topics in F1 Get the most out of Excel Formulas & Functions


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -4. The time now is 11:56 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0