+ Reply to Thread
Results 1 to 9 of 9

Weighted Average with uneven splits

  1. #1
    Registered User
    Join Date
    11-28-2011
    Location
    chennai
    MS-Off Ver
    Excel 2010
    Posts
    22

    Weighted Average with uneven splits

    I have a data which relates to particular vendor where the payment is made in single line , but we have to review the Invoice and give the break up(Manually) for each line and later the single line will be splitted on weighted average method based on the breakup, which makes a long time work is there any formula or Macro that would help me to do the job very easily

    I have also attached sample file for your reference


    Below is the example of the Issues, Solution is appreciated
    Question

    Vendor name AMT
    chevron 5000
    Glencore 3000
    TCS 5000
    G&F 40000



    Answer

    Vendor name AMT Breakup Weighted average Formula
    chevron 5000 1000 1000 =C14/SUM($C$14:$C$17)*B14
    2000 2000
    1000 1000
    1000 1000
    Glencore 3000 1500 1500
    1500 1500
    TCS 5000 1500 326.09
    1500 326.09
    1000 2,17.91
    1000 2,17.91
    G&F 40000 2000 3636.64
    2000 3636.36
    Attached Files Attached Files

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Weighted Average with uneven splits

    Hi,

    I don't understand.

    Your answer depends on knowing the Breakup numbers. Where do you find these since they're not in the original question data.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Weighted Average with uneven splits

    Without knowing the rules you apply to perform the manual breakup, it's impossible to provide an automated solution.

    Do you have an index or table that's related to how to manually breakup?
    Make Mom proud: Add to my reputation if I helped out!

    Make the Moderators happy: Mark the Thread as Solved if your question was answered!

  4. #4
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,578

    Re: Weighted Average with uneven splits

    For each line in "Chevron" (for example), it will be that line's breakup/Sum of all breakups for Chevron * that line's AMT
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  5. #5
    Registered User
    Join Date
    11-28-2011
    Location
    chennai
    MS-Off Ver
    Excel 2010
    Posts
    22

    Re: Weighted Average with uneven splits

    Yes thats the exact problem the break up is manually given by us based on the invoice (pdf format) it may vary for each payment ...

  6. #6
    Registered User
    Join Date
    11-28-2011
    Location
    chennai
    MS-Off Ver
    Excel 2010
    Posts
    22

    Re: Weighted Average with uneven splits

    the break up is manually given by us based on the invoice (pdf format) it may vary for each payment ...

  7. #7
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,513

    Re: Weighted Average with uneven splits

    ARRAY formula in B15, Then drag down.See attached file.
    Please Login or Register  to view this content.
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    11-28-2011
    Location
    chennai
    MS-Off Ver
    Excel 2010
    Posts
    22

    Re: Weighted Average with uneven splits

    That worked like a charm hats off srinivas really a great expert

  9. #9
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,513

    Re: Weighted Average with uneven splits

    Thanks for the compliments.

+ 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. Average IF uneven data
    By drakaz in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-10-2014, 07:58 PM
  2. weighted average
    By inoexcel in forum Excel General
    Replies: 3
    Last Post: 05-01-2006, 05:10 PM
  3. Weighted Average
    By hawsoon13 in forum Excel General
    Replies: 2
    Last Post: 08-26-2005, 06:05 AM
  4. What is this kind of average called?-weighted average
    By havocdragon in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-24-2005, 01:05 PM
  5. Moving average for uneven sampled data?
    By Johan Myrberger in forum Excel General
    Replies: 1
    Last Post: 01-17-2005, 05:06 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