+ Reply to Thread
Results 1 to 3 of 3

Percent distribution of total while eliminating certain values

  1. #1
    Registered User
    Join Date
    08-30-2010
    Location
    Here :)
    MS-Off Ver
    Excel 2007
    Posts
    20

    Percent distribution of total while eliminating certain values

    Greetings!

    I have attached a dummy workbook for my question.
    I have a spreadsheet with the following columns:

    Job Class | No. of employees | Type | % of total

    What I need is to spread out $30,000 between Type S employees ONLY based on the number of employees in the associated job class. There are Type S and Type P employees, but I only this calculation for Type S employees. It might sound harder than it really is reading this.

    Thank you for your time.
    Attached Files Attached Files
    Last edited by temple1; 11-01-2010 at 03:15 PM.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Percent distribution of total while eliminating certain values

    In D2 and copy down,

    =IF(C2<>"S", "", $D$8 * B2/ SUMIF($C$2:$C$7, "S", $B$2:$B$7))

    The denominator could be calculated in a separate cell instead of calculating it redundantly in each row.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    08-30-2010
    Location
    Here :)
    MS-Off Ver
    Excel 2007
    Posts
    20

    Re: Percent distribution of total while eliminating certain values

    Worked perfectly! Thank you very much for a quick reply, shg!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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