Database Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsDatabasesDatabase Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old August 7th, 2006, 01:48 PM
Bravura Bravura is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2006
Posts: 5 Bravura User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 39 m 31 sec
Reputation Power: 0
Setting up excel spredsheet...

Thanks for viewing this post i need some help on excel that i can't figure out. what i am wanting to do is create a spredsheet that when you plug in a duty for a person, a time is generated for that duty. so is tehre a way to program time for a duty that whenyou plug it into to anywhere on the spreadsheet the time pops up next to it. i have 21 employees and about 50 diff duties taht are done and want to get a time line for them. So i have there name, listed with there work hours on them also want to plug this in for calculation of time, work hours vs. Duty time, so i don't over work them. so anyways i have there name plug in the duties that i want them to complete and it alots a time for the duty, and i plug as many duties as i can for the time they are at work. Can this be done in excel, or is tehre another software taht i can use that is relativly cheap.

Thanks for the help.

Reply With Quote
  #2  
Old August 8th, 2006, 07:42 AM
MadCowDzz's Avatar
MadCowDzz MadCowDzz is offline
I'm Internet Famous
Dev Articles Frequenter (2500 - 2999 posts)
 
Join Date: Jan 2003
Location: Toronto, Canada
Posts: 2,890 MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Week 16 h 4 m 48 sec
Reputation Power: 8
I think you're surpassing the idea of a spreadsheet.
You might want to consider an actual database.

Your office suite (if it's Professional) might have come with Access.
I would look into that.
__________________
Daryl's Homepage | My Blogroll | My Profile | Firefox supporter!
DevArticles Forum Moderator

"The net is a waste of time, and that's exactly what's right about it." -- William Gibson

Reply With Quote
  #3  
Old August 8th, 2006, 08:18 AM
Bravura Bravura is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2006
Posts: 5 Bravura User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 39 m 31 sec
Reputation Power: 0
Well i was told by my boss that it could be done, i personally havent' seen it done but thought they were right. so i was just seeing if it could be done. Thanks for the info.

Reply With Quote
  #4  
Old August 8th, 2006, 09:09 AM
MadCowDzz's Avatar
MadCowDzz MadCowDzz is offline
I'm Internet Famous
Dev Articles Frequenter (2500 - 2999 posts)
 
Join Date: Jan 2003
Location: Toronto, Canada
Posts: 2,890 MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Week 16 h 4 m 48 sec
Reputation Power: 8
Well, I can't jump in and say no it can't be done... I can say that I don't know how to do it =)
Then agian, I'm not an Excel guru by any means...

Reply With Quote
  #5  
Old August 17th, 2006, 12:49 PM
skysmyles skysmyles is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2006
Posts: 2 skysmyles User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 19 m 56 sec
Reputation Power: 0
Yes, it can be done

You can absolutely do what you are describing in excel. If you create a table with two columns: column one contains the duty, column two contains the time duration. This can be a separate workbook, worksheet in the same workbook, or a table at the top of the existing workbook. It is incredibly flexible and can be formatted any number of ways by using the lookup functions in excel. I recommend VLOOKUP.

Create your primary spreadsheet with the employee name and other details leaving a column to enter the duty name. Your duty name should be consistent on the two tables you are creating. You will want to have a column available to put the lookup formula into so that it will update automatically.

With the cell highlighted in the column for displaying the duty duration, use the following steps to create the VLOOKUP formula.
1) On the Insert menu, select the function option, this will open the paste function wizard.
2) On the function wizard select the function category of "lookup & reference" and from the function name select "VLOOKUP". The V stands for vertical. There are options for Lookup and HLOOKUP but I have the best luck with VLOOKUP.
3) The function wizard will appear with the following four categories to be populated: Lookup_value, Table_array, Col_index_num, Range_lookup.
Lookup_value this in your example would be the cell that contains the duty name on your primary spreadsheet. Enter the cell location in the box.
Table_array this in your example is the secondary spreadsheet that contains the two columns for the duty and duration. Enter the complete cell locations for your table. For example: if your secondary table is in column A and B and is populated through row 25 you will enter the table array as $A$1:$B$25. The dollar signs in front of the cell column and cell row make the numbers static so excel does not change them when you copy the formula to another cell address.
Col_index_num this in your example would be 2 since the duration of the duty is in the second column of your table.
Range_lookup this in your example would be FALSE. Leaving the range_lookup blank or typing in TRUE will locate the closest answer to your situation. If you want an exact match to what exists on your secondary table, use FALSE.

The formula should look similar to this (However depending on way the file is setup the formula could appear slightly different):
=VLOOKUP(A4,$A$1:$B$25,2,FALSE)
or in text it would read:
If the duty on primary spreadsheet is the same as a duty on the secondary table, then enter the value in the duration column. If the duty on the primary spreadsheet does not match any of the duty entries on the secondary table show me that it does not match by putting #N/A in the cell field.

I hope this helps. You can also use the help feature to locate more assistance on the VLOOKUP Feature and what information is needed.

Skysmyles
Comments on this post
MadCowDzz agrees: Very insightful explanation!

Reply With Quote
  #6  
Old August 17th, 2006, 03:29 PM
Bravura Bravura is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2006
Posts: 5 Bravura User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 39 m 31 sec
Reputation Power: 0
Talking

Great tahnks, i will try to look this up soon and post if i have any questions or problems, its good to know that it can be done.

Reply With Quote
  #7  
Old August 21st, 2006, 08:08 AM
Bravura Bravura is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2006
Posts: 5 Bravura User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 39 m 31 sec
Reputation Power: 0
Ok i'm trying to run this post you gave me, however i'm having a problem, when i add time it keeps giving me seconds and am/pm. i've tried reseting the formula so that it reads just hours and minutes but it just keeps giving me seconds and am/pm. How do i get it to read hours and minutes and not the time of the day?

Thaks

Reply With Quote
  #8  
Old August 21st, 2006, 08:10 AM
Bravura Bravura is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2006
Posts: 5 Bravura User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 39 m 31 sec
Reputation Power: 0
Forgot one thing, how do i issue a time for the people, so when i plug in a duty for them it does not go over the alloted time the are working?

Reply With Quote
  #9  
Old August 21st, 2006, 08:42 AM
skysmyles skysmyles is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2006
Posts: 2 skysmyles User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 19 m 56 sec
Reputation Power: 0
Bravura ~

To answer your first question, you will need to use the format option on excel to get the time to display appropriately for what you are trying to do. If you select the cells that are displaying the time by highlighting them, then go to the format menu option and select cells. You will want to select time from the list of categories, then you will have a series of types to select from to best meet your needs.

Second question is more complex. It can be done through the use of formulas or conditional formating. However, it will take more smoothing and interaction to ensure that it is displaying correctly. You can create a formula to tell you that the person is over their working hours so that you know to make a correction to the data entered.

To assist with the formula or conditional formatting, I would need to know more about how your spreadsheet is set up. If you would like to e-mail me you can send an e-mail to skysmyles@hotmail.com and I will get back to you with a more detailed formula for your specific situation.

~ Sky

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsDatabasesDatabase Development > Setting up excel spredsheet...


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway