+ Reply to Thread
Results 1 to 7 of 7

Timesheet cut date off help!

  1. #1
    Registered User
    Join Date
    10-30-2011
    Location
    UK
    MS-Off Ver
    Excel 2007
    Posts
    4

    Question Timesheet cut date off help!

    I've done some trawling through the forum but can't find quite what I'm looking for, maybe someone can help.

    I have a calendar sheet which tracks the days I am away on business. The calendar is self dating with each cell in the month having it's own formula to return the correct date.

    The cells are colored dependant on the situation, ie holiday, training, away etc.

    The days are then totalled by using a COUNTCOLOR function.

    My salary, daily bonus away is all taken into account allowing me track my earnings but I can only total up from the first to the last day of the month.

    My daily bonus actually works from cut off dates so the totals are not reflecting true monthly earnnings.

    I'd like to figure a way of listing the start and end cut off dates per month, ie A1=January start date, B1 = January end date. A2 Feb Start Date, B2 Feb end date etc etc , and then have a macro/formula go through the months and mark a vertical line on the left side of the start cell and right side of the end cell..........and then give me a range from the start to end date that I can refer to in my monthly total cell.



    My god this sounds complicated..

    Any help would be great
    Last edited by GB_1; 10-30-2011 at 08:02 AM.
    "We are standing on the shoulders of giants"

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Timesheet cut date off help!

    To best describe or illustrate your problem you would be better off attaching a dummy workbook, the workbook should contain the same structure and some dummy data of the same type as the type you have in your real workbook - so, if a cell contains numbers & letters in this format abc-123 then that should be reflected in the dummy workbook.

    If needed supply a before and after sheet in the workbook so the person helping you can see what you are trying to achieve.

    Doing this will ensure you get the result you need!

  3. #3
    Registered User
    Join Date
    10-30-2011
    Location
    UK
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Timesheet cut date off help!

    OK thanks teylyn. I've attached a dummy copy of the workbook. All data has been changed but I think it's self explanatory......
    Attached Files Attached Files

  4. #4
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Timesheet cut date off help!

    the spreadsheet seems to be missing the VBA for the UDFs.

  5. #5
    Registered User
    Join Date
    10-30-2011
    Location
    UK
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Timesheet cut date off help!

    My apologies, hope this is correct....
    Attached Files Attached Files

  6. #6
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Timesheet cut date off help!

    We clearly have different perceptions of "self-explanatory".

    I don't even see where bonus is entered, nevermind calculated.

    In any case, with a layout like this, any kind of calculations that span across a month end will be impossible to set up with worksheet functions.

    You may want to try VBA instead, or re-design your workbook to follow best practices: data entry in a flat table on one sheet, reporting (and your sheet is a report) on a separate sheet. Don't mix the two.

  7. #7
    Registered User
    Join Date
    10-30-2011
    Location
    UK
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Timesheet cut date off help!

    I used to have the data entered separately but wanted to bring the input and output into one sheet.

    Thanks for your help.




    PS.
    "We clearly have different perceptions of "self-explanatory"
    I suppose we do.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1