Excel - Time Sheet Formula

Posted on 2008-10-14
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
Question by:Carlandrewlewis
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
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+


Author Comment

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.......

Author Comment

ID: 22719596
The toatls are to show in the summary sheet, i think this makes sense!!
Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

LVL 18

Accepted Solution

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.


Author Closing Comment

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

Thanks for your time

Author Comment

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.


LVL 18

Expert Comment

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


Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

749 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