+ Reply to Thread
Results 1 to 4 of 4

Group 1, 2, 3 should be as close to equal in terms of total revenue and count of accounts

  1. #1
    Registered User
    Join Date
    10-06-2014
    Location
    New York
    MS-Off Ver
    2013
    Posts
    2

    Red face Group 1, 2, 3 should be as close to equal in terms of total revenue and count of accounts

    I want create 3 groups in close to equal in terms of total revenue and count of accounts. Account.xlsx

  2. #2
    Forum Expert ben_hensel's Avatar
    Join Date
    01-26-2012
    Location
    Northeast USA
    MS-Off Ver
    Office 365
    Posts
    2,043

    Re: Group 1, 2, 3 should be as close to equal in terms of total revenue and count of accou

    Which is more important, total revenue or count?
    Click the [* Add Reputation] Button to thank people for help!
    Post Attachment: Click [Go Advanced] under the reply box; then click [Manage Attachments] to launch the attachments dialogue.
    Mark Thread Solved: Go to the top of the first post; Select [Thread Tools] dropdown; Pick the [Mark thread as Solved] option.

  3. #3
    Registered User
    Join Date
    10-06-2014
    Location
    New York
    MS-Off Ver
    2013
    Posts
    2

    Re: Group 1, 2, 3 should be as close to equal in terms of total revenue and count of accou

    actually both. Condition is BOTH total revenue and count of accounts
    .
    thanks for your help.

  4. #4
    Forum Expert ben_hensel's Avatar
    Join Date
    01-26-2012
    Location
    Northeast USA
    MS-Off Ver
    Office 365
    Posts
    2,043

    Re: Group 1, 2, 3 should be as close to equal in terms of total revenue and count of accou

    Alright, I'll just make up an arbitrary scaling factor then, if it didn't even occur that you needed one.

    See attached; least squares regression (of two variables) running off that VBA button. I treated revinue and count as independent, although they're not really. Well, be aware that of the hundreds of billions (or so) of possible solutions, this one converges at the first local minima it finds, so your starting distribution might matter.

    Change the range definition in the module if you want to apply it to a larger function.

    Well, in that case it might have to churn & burn for a while....
    Attached Files Attached Files

+ 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. Replies: 8
    Last Post: 01-09-2014, 08:01 PM
  2. Replies: 2
    Last Post: 06-05-2013, 04:19 PM
  3. [SOLVED] Difference between total revenue - last days revenue
    By vinodt in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 10-08-2012, 02:35 PM
  4. Excel 2008 : Running Total of different accounts
    By jonpackbosoxfan in forum Excel General
    Replies: 2
    Last Post: 02-08-2012, 03:16 AM
  5. VBA with PivotTable Count of Accounts - Want to show Sum of Accounts
    By snake10 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-19-2008, 07:27 AM

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