+ Reply to Thread
Results 1 to 4 of 4

unique lists, sumproduct, weighted average

  1. #1
    Registered User
    Join Date
    03-27-2012
    Location
    New York, NY
    MS-Off Ver
    Excel 2007
    Posts
    5

    unique lists, sumproduct, weighted average

    Hello,

    I am in need of help with a set of data. I am attaching an example set of data that reflects the real formulas needed. I have a list of accounts in column A and some data the follows. I need formulas that I am able to copy all the way down without starting over at each new unique account. Please see attached where I try to clearly describe the formula needed.

    Thanks for your help!

    [email protected]

    Excel Help.xlsx

  2. #2
    Valued Forum Contributor
    Join Date
    03-16-2012
    Location
    Aarhus, Denmark
    MS-Off Ver
    Excel 2007
    Posts
    992

    Re: unique lists, sumproduct, weighted average

    Try this out:

    For F5: =IF(A5<>A4,SUMPRODUCT(($A$5:$A$23=A5)*1,$B$5:$B$23,$C$5:$C$23)/SUMIF($A$5:$A$23,A5,$B$5:$B$23),"") and copy down.
    For G5: still working on this one
    For H5: =C5/SUMIF($A$5:$A$23,A5,$C$5:$C$23) and copy down
    Sincerely
    S?ren Larsen

    "Give a man a fish, and you'll feed him for a day. Give a man a fishing rod, and he'll steal your yacht!"

  3. #3
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: unique lists, sumproduct, weighted average

    In G5 try:

    Please Login or Register  to view this content.
    confirmed with CTRL+SHIFT+ENTER and not just ENTER and copy down.

    I had very similar formulas for F5 and H5 to Søren...
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  4. #4
    Valued Forum Contributor
    Join Date
    03-16-2012
    Location
    Aarhus, Denmark
    MS-Off Ver
    Excel 2007
    Posts
    992

    Re: unique lists, sumproduct, weighted average

    Thanks NBVC; I think I underestimated the difficulty of that one.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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