+ Reply to Thread
Results 1 to 7 of 7

Carry Forward New YTD Values On A Reconciliation

  1. #1
    Registered User
    Join Date
    03-27-2013
    Location
    Wiltshire, England
    MS-Off Ver
    Excel 2007
    Posts
    75

    Carry Forward New YTD Values On A Reconciliation

    Hello,

    On the attached file, I have employee base detail highlighted in grey on the New Period sheet.
    I want this base detail copied to the "New YTD" sheet, showing new values for each wage type.
    The new value will be the value on the "YTD" sheet added to the value on the "New Period" sheet.

    The base detail has to be taken from the "New Period" sheet because it has our most up to date list of employees with their current location, pay section etc.
    The number of rows on New Period and YTD will be variable on each payroll.

    Can someone advise some marco code that will create the "New YTD" sheet with the new values for each wage type.

    Just so you can see the end result I am looking for, I have created a sheet called "Outcome" which would be the successful end result based on the attached example file.

    Thanks for any help you can give me.

    Jonathan.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    12-24-2007
    Location
    Alsace - France
    MS-Off Ver
    MS 365 Office Suite
    Posts
    5,066

    Re: Carry Forward New YTD Values On A Reconciliation

    Thank you for the file attached it is very clear
    Is the "Employee number" enough to search for an employee
    When an employee exists in "YTD" but nor anymore in "New Period" do you want to copy this record in "New YTD"
    - Battle without fear gives no glory - Just try

  3. #3
    Registered User
    Join Date
    03-27-2013
    Location
    Wiltshire, England
    MS-Off Ver
    Excel 2007
    Posts
    75

    Re: Carry Forward New YTD Values On A Reconciliation

    Yes I would want them copied forward.

    New employees in New Period always get added in, but employees leaving the company do not get taken off as it is a reconciliation of the whole tax year.

    We only start with a completely new population of employees in period 1 of a new tax year.

  4. #4
    Forum Expert
    Join Date
    12-24-2007
    Location
    Alsace - France
    MS-Off Ver
    MS 365 Office Suite
    Posts
    5,066

    Re: Carry Forward New YTD Values On A Reconciliation

    A first run, please comment
    Tab "New YTD" is deleted each time the macro is run
    Please Login or Register  to view this content.
    Last edited by PCI; 06-20-2016 at 02:21 AM.

  5. #5
    Forum Expert
    Join Date
    12-24-2007
    Location
    Alsace - France
    MS-Off Ver
    MS 365 Office Suite
    Posts
    5,066

    Re: Carry Forward New YTD Values On A Reconciliation

    See here another run with copy of the records from YTD when not seen in New Period

    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    03-27-2013
    Location
    Wiltshire, England
    MS-Off Ver
    Excel 2007
    Posts
    75

    Re: Carry Forward New YTD Values On A Reconciliation

    Hello PCI.

    The code you have given is excellent and does exactly what I require.

    I have added a positive comment on your "Add Rputation".
    This has saved me a great deal of time.

    Thank you very much
    Jonathan Williams

  7. #7
    Forum Expert
    Join Date
    12-24-2007
    Location
    Alsace - France
    MS-Off Ver
    MS 365 Office Suite
    Posts
    5,066

    Re: Carry Forward New YTD Values On A Reconciliation

    Thank you Jonathan for the information back, the real achievement when helping people is to see that we have done is not lost and it helps.
    Patrick

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 3
    Last Post: 10-01-2015, 12:38 AM
  2. How to carry forward results <1 until they equal 1
    By 285_south in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-26-2014, 05:08 AM
  3. Replies: 1
    Last Post: 08-10-2012, 03:24 AM
  4. Replies: 2
    Last Post: 01-16-2012, 09:22 AM
  5. Replies: 0
    Last Post: 11-17-2010, 07:50 PM
  6. Replies: 4
    Last Post: 07-26-2006, 12:05 PM
  7. Replies: 3
    Last Post: 05-23-2006, 04:50 PM

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