+ Reply to Thread
Results 1 to 4 of 4

SUMIF - Need to add condition the applies an allocation percentage to shared costs

  1. #1
    Registered User
    Join Date
    01-30-2021
    Location
    Ohio
    MS-Off Ver
    MS 365
    Posts
    2

    SUMIF - Need to add condition the applies an allocation percentage to shared costs

    Hi all,

    I'm new to the forum, but found many useful posts and am hoping someone may be able to assist.

    I'm summing invoiced amounts based on their contract # and Req.# (summing from the "Invoices" tab), then need to apply an allocation percentage to reduce any shared cost invoices entered. The formula listed below works for cells that have shared costs, but does not work for cells that do not have allocation costs entered. I've searched and tried a few different options, but have come up empty.

    =SUMIFS(Invoices!$H$5:$H$256,Invoices!$L$5:$L$256,"Req. 1",Invoices!$D$5:$D$256,$H24)-SUMIF(Invoices!$I$5:$I$256,"=S",Invoices!$H$5:$H$256)*SUM('S&U'!$Y$8:$AA$8)

    My allocation is listed on the "S&U" tab and is broken out as follows: (the S&U formula above is summing WB,SB & P to get the allocation cost to equal 40%)
    EB=40%
    WB=30%
    SB=20%
    P=10%
    S=Shared Costs

    Original Cost = $3,000

    Expected result from cell that has shared costs: $1,200

    Result I'm getting from cells that do not have shared costs: -1,800

    I was successful in getting a $0.00 return by adding "&=S" in the non-shared cost containing cells, but this means having to manually go in and change it to "=S" if/when a shared cost gets entered...

  2. #2
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365 for MAC
    Posts
    3,105

    Re: SUMIF - Need to add condition the applies an allocation percentage to shared costs

    Hi,
    Posts without an example sheet will get less responses, and even will remain without a solution.
    It's less common that one will envision your file by only literal description, or will take the initiation to create it instead of you.

    Please look at the yellow banner at the top of the page for instruction as for how to upload your sample sheet.

  3. #3
    Registered User
    Join Date
    01-30-2021
    Location
    Ohio
    MS-Off Ver
    MS 365
    Posts
    2

    Post Re: SUMIF - Need to add condition the applies an allocation percentage to shared costs

    Example of what I'm trying to do is attached

    Any assistance would be much appreciated.

    Thanks,
    Cindy
    Attached Files Attached Files

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,025

    Re: SUMIF - Need to add condition the applies an allocation percentage to shared costs

    What you are doing looks very odd. Your formula is incorrect. As you have not provided expected answers clearly enough, I do not know what you want to see. please remove the non-working fomulae in the sheet and repost it with manually calculated expected answers.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

+ 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. Vlookup if condition applies
    By Gustavo.AL in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-09-2018, 10:28 PM
  2. Percentage Allocation,
    By daniel.jacobs in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 08-04-2017, 08:56 AM
  3. Count if the condition applies 2 or more times in a time span:
    By EMyk08 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-24-2014, 09:25 AM
  4. Copy-Paste Special - Transpose values if condition applies
    By Florinnn in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 07-01-2013, 05:35 AM
  5. how to disable a cell like user cannot input in it when the condition applies ?
    By shaal in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-20-2012, 03:47 AM
  6. [SOLVED] Re-Allocation of Percentage
    By Harlequin in forum Excel General
    Replies: 2
    Last Post: 07-04-2012, 06:31 AM
  7. Macros for inserting row if condition applies in different worksheet
    By Florinnn in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-15-2010, 10:54 AM

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