Consulting

Results 1 to 2 of 2

Thread: Weighted average inside group of cells

  1. #1

    Weighted average inside group of cells

    Hello,

    I'm having the following problem:

    I have a sheet with columns for the transport number, the invoice for the each good transported, the freight for each good and the weight.

    Problem is, the weight is the total weight of the goods in each transport.
    I need a macro that creates a new column that divides the weight based on the freight cost for each invoice in each transport - a weighted average.

    Please see attached table for clarification.
    Attached Files Attached Files

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,445
    Location
    You need to explain how you arrive at those weighted values, I cannot see where they come from.
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •