+ Reply to Thread
Results 1 to 8 of 8

Help with Splitting Charges to Cost Centres According to %

  1. #1
    Registered User
    Join Date
    12-04-2017
    Location
    London, England
    MS-Off Ver
    2013
    Posts
    4

    Help with Splitting Charges to Cost Centres According to %

    Hi Guys,

    This is my first time in this form and hope to obtain some help with a perplexing Excel issue.

    We have a number of staff working on different projects and consequently different cost centres. I am trying to split their payroll charges (for example basic pay, employer's NI contribution) to the respective cost centres. I am working with two spreadsheets:
    1) Raw data (containing just the payroll data)
    2) Spreadsheet recording the % split per cost centre

    I am working with over 500 employee payroll data where at least 300 of them have splits. I have attached the spreadsheets.

    Many thanks in advance for your help!

    Victory
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,199

    Re: Help with Splitting Charges to Cost Centres According to %

    Are there only 3 cost centres?

  3. #3
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Help with Splitting Charges to Cost Centres According to %

    I made use of Excel Tables in this solution for two reasons:
    - Excel tables know how big they are, so any formulas that reference them always reference the correct number of rows automatically without having to change the formula
    - Excel tables automatically "extend" - as you add new rows, they become part of the table. Also, formulas, validations, formats, etc. are automatically copied down.

    Other than that, the formulas make use of MATCH() and Index to look up the split.

    As you add rows to the table on the Raw Data sheet, the breakouts will be shown in Columns G:I.

    The Ref~ has me concerned. If different references have different splits than additional logic must be applied.
    Attached Files Attached Files
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

  4. #4
    Registered User
    Join Date
    12-04-2017
    Location
    London, England
    MS-Off Ver
    2013
    Posts
    4

    Re: Help with Splitting Charges to Cost Centres According to %

    hi John,

    There are more than 3 cost centres but the splits are always a maximum of 3. Hope that made sense.

  5. #5
    Registered User
    Join Date
    12-04-2017
    Location
    London, England
    MS-Off Ver
    2013
    Posts
    4

    Re: Help with Splitting Charges to Cost Centres According to %

    hi dflak,

    Many thanks for your response! Brain's fried at the moment but will have a look at your solution. Thanks again for taking the time to reply-much appreciated

  6. #6
    Valued Forum Contributor
    Join Date
    11-02-2016
    Location
    NY
    MS-Off Ver
    2010
    Posts
    459

    Re: Help with Splitting Charges to Cost Centres According to %

    Do a lookup on the EE id; Sum the amounts to get Total for Each EE. See attached.

  7. #7
    Forum Expert
    Join Date
    08-16-2015
    Location
    Antwerpen, Belgium
    MS-Off Ver
    2007-2016
    Posts
    2,380

    Re: Help with Splitting Charges to Cost Centres According to %

    solution with code

    Please Login or Register  to view this content.
    Kind regards
    Leo

  8. #8
    Registered User
    Join Date
    12-04-2017
    Location
    London, England
    MS-Off Ver
    2013
    Posts
    4

    Re: Help with Splitting Charges to Cost Centres According to %

    Hi Leo, thanks for taking the time to respond. I have no clue about coding but your help is appreciated nonetheless

+ 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. Which formula for splitting the total cost between departments?
    By grandpacool in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-02-2015, 12:26 PM
  2. [SOLVED] Button that centres images in cells
    By rich_b in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-14-2014, 05:16 AM
  3. [SOLVED] Splitting a Total Cost into Quarterly dates
    By paulhoskin in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-21-2013, 11:09 AM
  4. [SOLVED] manipulating variable stock codes sold for month into cost centres
    By cooper-k in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-05-2013, 08:05 AM
  5. Splitting out a cost by date
    By andyzoo in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-16-2013, 09:04 PM
  6. [SOLVED] Splitting cost (based on percentages)
    By marcmarina in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 09-26-2012, 03:21 PM
  7. Calculating sub-totals for different cost centres
    By nick carntowan in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-25-2011, 06:55 AM

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