Results 1 to 2 of 2

Macro or Not? Recalculating Individual Values

Threaded View

  1. #1
    Registered User
    Join Date
    07-15-2009
    Location
    Manchester, England
    MS-Off Ver
    Excel 2007
    Posts
    77

    Macro or Not? Recalculating Individual Values

    Hi All

    I currently use ROUND to split a store target between my sales team based on the number of hours they work through the month.

    In G35 is the store target and the individual targets are calculated & displayed in G5:G32. The formula in these cells is:

    =ROUND((($G$35/Rotas!$B$36)*Rotas!C$36),0)
    The problem at the moment is that the individual targets do not always equal the value of G35.

    What i would like is that if the sum of G5:G32 exceeds G35 then the extra sales are taken off the correct individual(s) i.e. the person with the least hours worked would lose a sale off their target then the next lowest etc. It needs to stop when G35 = The Sum of G5:G32.

    If the sum of G5:G32 is lower than G35 then the opposite of the above needs to happen, i.e. highest hours gains a targeted sale and next highest gains until again G35 matches sum of G5:G32.

    I have ranked the hours worked on 'rotas' tab in column BK cells 4 to 31 (28 sales advisors max in total) if that helps?

    1) Should i use ranking or just the total hours worked to calculate how to make relevant adjustments?
    2) Should i use a formula or macro to make this happen?

    Thanks in advance
    Mark

    Sample.xlsm
    Last edited by markrennolds; 11-24-2009 at 02:46 PM.

Thread Information

Users Browsing this Thread

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

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