+ Reply to Thread
Results 1 to 8 of 8

formula for proportionating the amount

  1. #1
    Forum Contributor
    Join Date
    10-16-2010
    Location
    bangalore
    MS-Off Ver
    Excel 2019
    Posts
    288

    formula for proportionating the amount

    Hi,

    I have applied the formula for calcuating proportionate amount that needs to be porportionated between fruits and vegitables, but for few cases its not giving the desired result (which is highlighted in the sample sheet). Column J (manual result) should match with Colomum E (formula cell). Pls help.
    Attached Files Attached Files

  2. #2
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: formula for proportionating the amount

    i think this part is enough for that
    =C3*IFERROR((SUM(L3:P3)/(SUM(L3:P3)+SUM(R3:AF3))),1)

    this part
    =IF(SUM(L3:P3)=0,0,... return 0 when theres nothing to add those cell disregarding the r3 to af3 and also the value in c3
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

  3. #3
    Forum Contributor
    Join Date
    10-16-2010
    Location
    bangalore
    MS-Off Ver
    Excel 2019
    Posts
    288

    Re: formula for proportionating the amount

    Thanks Vlady. Its working fine..but I have one more similar issue with proportinating the amount.Here in this sample sheet i need to get the answer in formula column (manual answer given in next colum)but this formula doesn't work for few cases. Pls hlep.

    Thanks.
    Attached Files Attached Files

  4. #4
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: formula for proportionating the amount

    try
    J4=IF(C4=0,B4+D4,B4+E4)
    N4=IF(B4=0,C4+F4,C4+D4)

  5. #5
    Forum Contributor
    Join Date
    10-16-2010
    Location
    bangalore
    MS-Off Ver
    Excel 2019
    Posts
    288

    Re: formula for proportionating the amount

    Hi Valsy,
    Thanks for ur help, but for last three line items its not giving the exact reslut in (in J4=IF(C4=0,B4+D4,B4+E4 forumla). Pls check in the sheet attaached earlier and do needful..

    Thanks.

  6. #6
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: formula for proportionating the amount

    maybe this one. I think I'm lost.

    =IF(F4>0,B4+E4,IF(C4=0,B4+D4))

    what if column B or C has value?

  7. #7
    Forum Contributor
    Join Date
    10-16-2010
    Location
    bangalore
    MS-Off Ver
    Excel 2019
    Posts
    288

    Re: formula for proportionating the amount

    along with formula you given (=IF(F4>0,B4+E4,IF(C4=0,B4+D4), if B has a value then it shouldbe B+D, and if C has value then it should be C+F

  8. #8
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: formula for proportionating the amount

    so
    =IF(B4>0,B4+D4,E4)
    and
    =IF(C4>0,C4+F4,F4)

+ 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. [SOLVED] Folder has X amount of jpeg files. How to automate creating links for those X amount of fi
    By JPWRana in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 10-24-2013, 09:50 AM
  2. [SOLVED] In pivot match vertical row amount with the horizontal column -amount and highlight that
    By Goku in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-21-2013, 02:04 AM
  3. Replies: 5
    Last Post: 09-30-2010, 08:02 PM
  4. Formula for amount owing subtract amount paid
    By Taperchart in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-04-2006, 12:55 PM
  5. Replies: 16
    Last Post: 05-04-2005, 04:26 PM

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