Solved

Excel - Time Sheet Formula

Posted on 2008-10-14
7
2,406 Views
Last Modified: 2011-10-19
The problem i have is the formulas i have used in the template are not quite what i'm after. The formula in column 'O' should be to make sure that a minimum of 8 hours have been in column 'M' and that will mean they will get paid 'D'. Anything over that as per column 'N' will be multiplied by there overtime rate in column 'E' and added to column 'O'. at the moment before any hours are entered it shows there daily rate which i dont want.
Also i would like a rolling total to show in the "Summary" sheet from all the new sheets that wil be created from the template code. At the moment i have it set up for one sheet but i dont know how to include for sheets that are not created yet...... Please advise
Weekly-Pay-Schedule.xls
0
Comment
Question by:Carlandrewlewis
  • 4
  • 3
7 Comments
 
LVL 18

Expert Comment

by:Curt Lindstrom
ID: 22718787
I think this is what you want for your formulas. See attachment.

For your rolling summary you can just keep adding the total from each sheet ='Week 1'!O124+


Curt
Mod1-Weekly-Pay-Schedule.xls
0
 

Author Comment

by:Carlandrewlewis
ID: 22719589
The formulas are perfect now thank you. It's now just the rolling total.  What i have is when you enter a name in the "New Sheet" it will automatically create a new worksheet called the same. What i need if possible is when it creates a new sheet it adds the total aswell.......
0
 

Author Comment

by:Carlandrewlewis
ID: 22719596
The toatls are to show in the summary sheet, i think this makes sense!!
0
Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

 
LVL 18

Accepted Solution

by:
Curt Lindstrom earned 500 total points
ID: 22720713
I can do it like this. See attachment.

To do it when you add a new sheet gets a bit too complicated since you would not only have to work out how many week sheets there are, but also try to construct formulas in the summary sheet based on the sheet names. This is easier and works just as well. Just press the button to get the current total. The macro used by the button is in module1.

Curt
Mod2-Weekly-Pay-Schedule.xls
0
 

Author Closing Comment

by:Carlandrewlewis
ID: 31506205
Thanks for the advice, it all works perfect now....

Thanks for your time
0
 

Author Comment

by:Carlandrewlewis
ID: 22783918
Curt, you help me with the above problem where you created a macro to calculate the totals of all created sheets. I am going to post a question in regards to 'Excel Macros - Calculating Totals' could you have a look at it for me.

Regards

Carl
0
 
LVL 18

Expert Comment

by:Curt Lindstrom
ID: 22783975
Sure Carl, I'll look at it unless someone else beats me to it!

Curt
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now