Ozgrid Excel Help & Best Practices Forums


XL Templates | XL Add-ins | XL Training | XL Estimating | XL Scheduling | XL Recovery | XL Trading | XL Financial | XL Conversion | XL Charting


Closed Thread
Results 1 to 7 of 7

Thread: [Solved] attendance sheet-copy formula

  1. #1
    Join Date
    18th April 2003
    Posts
    42

    Download Active Data For Excel > > DETAILS > >
    Hello all, I am sure there is an easy answer for this, I just don't know it.

    I have attached a spreadsheet that has 3 worksheets, summary and 2 individual. I am trying to drive the individual sheets from the summary page.

    Basically, I enter the week ending and hours worked and the individual sheets would retain the accumulated individual info.
    The formula I am using is as follows:
    =IF(A5='Week End'!$B$2,'Week End'!$B$4,"")
    What I have discovered is that as I change weeks the prior week become blank, just like I told it too!.
    Is there a copy command I can use in a formula to copy or some other way to save the prior weeks info? I thought about Lookup but would run across the same problem.

    Any help would be appreciated,
    Thanks
    Beeker

  2. #2
    Join Date
    26th August 2003
    Location
    Lost
    Posts
    45
    Copy, then

    Edit
    Paste Special...
    Values

  3. #3
    Join Date
    18th April 2003
    Posts
    42
    Please look at the spreadsheet as I am needing to imbed the copy command into a formula:
    I know this formula doesn't work but something like:

    =IF(A5='Week End'!$B$2,'Week End'!$B$4 and copy [b]value[b] $b$4 to $g$4,"")


    Beeker

  4. #4
    Join Date
    26th June 2003
    Location
    Maryland, USA
    Posts
    368
    Hi Beeker,

    Have a look at the attached.
    I added a macro to your file to copy over all the data on the Week End sheet to the individual sheets.

    If the employee does not have a sheet, a new sheet is created and formatted (the sheet has to be named the exact same as the data in Col A).

    A new line is added on to the end of the employees sheet with the current week and data.

    Hope this helps

    .....Ralph

  5. #5
    Join Date
    18th April 2003
    Posts
    42
    Thanks, I think this should work. The problem I have run into is:
    If the update is run twice with the same week ending date, it also updates the individual sheets with a duplicate week ending date.
    Do I put an "If" statement in each cell or can something be imbedded into the Macro?

    Thanks
    Beeker

  6. #6
    Join Date
    26th June 2003
    Location
    Maryland, USA
    Posts
    368
    Hi Beeker,

    Just tell the operator not to do that :biggrin:

    Seriously though, I added a test to see if the update is a duplicate - shouldn't write double records now.

    .....Ralph

  7. #7
    Join Date
    18th April 2003
    Posts
    42

    Create Excel dashboards quickly with Plug-N-Play reports.
    Perfect, thanks for the help.

    To bad I have to make everything so idiot proof!

    Beeker

Closed Thread

Thread Information

Users Browsing this Thread

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

     

Possible Answers

  1. Copy & Paste A Sheet Progressive Formula (2)
    By scratchmaster in forum EXCEL HELP
    Replies: 5
    Last Post: October 2nd, 2006, 04:34
  2. Controls for Attendance sheet
    By praveen_khm in forum EXCEL HELP
    Replies: 2
    Last Post: February 7th, 2006, 05:12
  3. Attendance sheet protection.
    By countryfan_nt in forum EXCEL HELP
    Replies: 15
    Last Post: January 5th, 2006, 17:39
  4. [Solved] Formulas : Attendance problem
    By Javy Dreamer in forum EXCEL HELP
    Replies: 15
    Last Post: February 5th, 2004, 23:44
  5. attendance form-copy formula
    By beeker in forum EXCEL HELP
    Replies: 1
    Last Post: September 4th, 2003, 14:22

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