Closed Thread
Results 1 to 7 of 7

Formula to work out an exact average over an exact number

  1. #1
    Registered User
    Join Date
    04-03-2011
    Location
    New Zealand
    MS-Off Ver
    Excel 2003
    Posts
    21

    Question Formula to work out an exact average over an exact number

    I need a formula to work out an exact average over a column of numbers. eg:

    Column B has the total amount for each person
    Column C(with my current formula), =ROUNDUP(($D$2/$B$10)*B3,)

    Column D has my exact allocated number. At the moment this is (11)
    I need the total of column C to always be the same as the allocated number in column d.

    11
    Carol 5 3
    Deane 4 2
    Harold 1 1
    Jerry 3 2
    Janice 7 4
    Cane 5 3

    Total 25 15

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Formula to work out an exact average over an exact number

    This may just be coincidence, but y=try this...
    =IF(ROUND(B3/$B$10*$D$2,0)=0,1,ROUND(B3/$B$10*$D$2,0))
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    04-03-2011
    Location
    New Zealand
    MS-Off Ver
    Excel 2003
    Posts
    21

    Re: Formula to work out an exact average over an exact number

    No this didn't work. Close but not close enough. How do I load another attachment??

  4. #4
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Formula to work out an exact average over an exact number

    Just the same way you attached the first one.

    You can add them in another post (e.g. #5).
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  5. #5
    Registered User
    Join Date
    04-03-2011
    Location
    New Zealand
    MS-Off Ver
    Excel 2003
    Posts
    21

    Re: Formula to work out an exact average over an exact number

    Quote Originally Posted by oeldere View Post
    Just the same way you attached the first one.

    You can add them in another post (e.g. #5).
    No attachment icon available to add another attachment so I will copy it into this window.

    I have eg: 14 people who have a certain amount of listings (these numbers can change). As per the formula I have under the ads/per p it is calculating how many ads the person can have determined on their total amount of listings and also determined on the total amount given between everyone. eg: 74 at the moment and the amount we have been allocated (49),. The total allocated 49 needs to equal this said amount.

    Attachment now there.
    Attached Files Attached Files
    Last edited by Sandyshirl; 06-10-2013 at 08:26 PM. Reason: To attach a file

  6. #6
    Registered User
    Join Date
    04-03-2011
    Location
    New Zealand
    MS-Off Ver
    Excel 2003
    Posts
    21

    Question Re: Formula to work out an exact average over an exact number

    Have attached a clearer document to enable u to understand what I need to happen. ThanksAllocations.xls

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Formula to work out an exact average over an exact number

    I think this is pretty much the same as this thread?
    http://www.excelforum.com/excel-form...12#post3275312

    I will now close this thread, as you had your question solved in the other 1. If it was not the same, please PM me and I will re-open this 1

Closed 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