+ Reply to Thread
Results 1 to 2 of 2

sort and split - base as average

  1. #1
    Registered User
    Join Date
    03-26-2016
    Location
    Hyderabad
    MS-Off Ver
    2010
    Posts
    3

    sort and split - base as average

    Hi

    Please help in finding the excel VB code OR formula for the above enclosed.

    I have master data with different days were i require to pickup 3 , 3 , 3, nnnn with average equal or near to master data.

    Note : you have a unique value as CHQ NUMBER

    Cheq Amt CHQ NUMBER CHEQUE DATES CURRENT DATE DAYS
    218295 1111 2-May-16 21-Mar-2016 42
    218295 2222 4-May-16 21-Mar-2016 44
    218295 3333 5-May-16 21-Mar-2016 45
    218295 4444 8-May-16 21-Mar-2016 48
    218295 5555 9-May-16 21-Mar-2016 49
    218295 6666 10-May-16 21-Mar-2016 50
    5730.24 7777 11-May-16 21-Mar-2016 51
    39690 8888 7-May-16 21-Mar-2016 47
    ----------------------------------------------------------------------------
    SPLIT TOTAL AVG 47.0
    -----------------------------------------------------------------------------
    Automation Required as below
    -----------------
    Average |Splitting into 3 | Cheq Amt
    ----------- ---------------- -----------------------

    47 42 48 51 218295 218295 5730.24
    47 44 50 47 218295 218295 39690
    47 45 49 218295 218295

    Regards
    PSN

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166
    Hello psnreddy.info,

    Welcome to Excelforum. Be a part of large Excel community. Enjoy Learning.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ 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. How to use pivot to average base on criteria ???
    By coolasia in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 07-08-2016, 04:03 AM
  2. [SOLVED] average the list base on condtional
    By pedjvak in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-29-2015, 03:53 AM
  3. Pivot Table Sort Same as Data Base
    By Nunzio in forum Excel General
    Replies: 1
    Last Post: 05-12-2012, 02:50 AM
  4. Split a workbook into different workbooks base on conditions
    By gvf in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 02-25-2012, 06:14 PM
  5. Compute Average base on different column
    By ray_bt in forum Excel General
    Replies: 2
    Last Post: 05-23-2010, 12:23 PM
  6. base - calculate a YTD average
    By superspurs in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-03-2009, 06:43 AM
  7. Sort Data Base By Column
    By travelersway in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 08-21-2006, 06:25 PM

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