+ Reply to Thread
Results 1 to 7 of 7

count the nos and sum the same no and create summry based on datash pp.

  1. #1
    Forum Contributor
    Join Date
    02-12-2010
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    134

    count the nos and sum the same no and create summry based on datash pp.

    hi
    i have this module but it too slow is there way to do it speedily do this .

    Please Login or Register  to view this content.
    also here is the sample wb
    Attached Files Attached Files
    Last edited by jay11; 07-27-2015 at 11:53 AM.

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: count the nos and sum the same no and create summry based on datash pp.

    Hi,

    Can you explain in a narrative with reference to your pp data how you are summarising it. i.e. what rules are you using.

    I can't help thinking that standard Excel functionality might achieve the task in a much quicker way.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Contributor
    Join Date
    02-12-2010
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    134

    Re: count the nos and sum the same no and create summry based on datash pp.

    hi Richard Buttrey
    in sh "pp" code should look in Column f find 1st instance says value 25.00 ,then in same column find next instance of value 25.00 count that instance and also sum that same ,then goto next value say 30.00 find value instance in column F and count and sum
    so the summery sheet should look like following manner
    value| sum|nos of occurrence |
    25 |125 |5
    30 |240 |8
    50 |100 |2
    .
    .
    .
    so on all value in column G
    hope i explain it
    thanks
    Last edited by jay11; 07-27-2015 at 01:46 PM.

  4. #4
    Forum Contributor
    Join Date
    02-12-2010
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    134

    Re: count the nos and sum the same no and create summry based on datash pp.

    Quote Originally Posted by Richard Buttrey View Post
    Hi,

    Can you explain in a narrative with reference to your pp data how you are summarising it. i.e. what rules are you using.

    I can't help thinking that standard Excel functionality might achieve the task in a much quicker way.
    hi Richard Buttrey
    in sh "pp" code should look in Column F find 1st instance says value 25.00 ,then in same column find next instance of value 25.00 count that instance and also sum that same ,then goto next value say 30.00 find value instance in column F and count and sum
    so the summery sheet should look like following manner
    value| sum|nos of occurrence |
    25 |125 |5
    30 |240 |8
    50 |100 |2
    .
    .
    .
    so on all value in column G
    hope i explain it
    thanks
    Last edited by jay11; 07-27-2015 at 01:46 PM.

  5. #5
    Forum Contributor
    Join Date
    02-12-2010
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    134

    Re: count the nos and sum the same no and create summry based on datash pp.

    i found this code in forum and it some what work but the sorting the number in summary sh
    not working any suggestion or any better solution are most appreciated .
    thanks.

    Please Login or Register  to view this content.

  6. #6
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: count the nos and sum the same no and create summry based on datash pp.

    Hi,

    I don't see values for 25 & 30 (A1&A2 in Summary)

    Neither do I understand where values like 161.45 (B3) come from. I see that there are 5 occurencies of 37.14 (A3) but 5 x 37.14 = 185.7.
    Please explain the calculations in column B

  7. #7
    Forum Contributor
    Join Date
    02-12-2010
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    134

    Re: count the nos and sum the same no and create summry based on datash pp.

    Quote Originally Posted by Richard Buttrey View Post
    Hi,

    I don't see values for 25 & 30 (A1&A2 in Summary)

    Neither do I understand where values like 161.45 (B3) come from. I see that there are 5 occurrences of 37.14 (A3) but 5 x 37.14 = 185.7.
    Please explain the calculations in column B
    25 and 30 was just an example i was explaining how the number could came.
    and i know column B need to have total but i can not code accordingly so i just multiply both nos. hear i attache new workbook u can find what i need to achieve by macro .i copy past two diff macro code from search,i do not know how to sort that from A2 to last row of sh"summary" so i did manually record macro and try to incorporate in to code.i know it's not perfect solution but that only i can came up with my proficiency of VBA.
    PHP Code: 
    per day    # of time    total
    0        52            0
    37.14       5            185.7
    37.15        2            74.3
    41.13        6            246.78
    41.14        13            534.82
    .
    .
    .

    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: 1
    Last Post: 06-19-2014, 06:35 PM
  2. Create a new column based on count of two other columns
    By ftcnt in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-22-2012, 09:10 AM
  3. Replies: 6
    Last Post: 10-19-2012, 04:55 PM
  4. summry sheet result regarding area and tier
    By cu525 in forum Excel General
    Replies: 2
    Last Post: 11-05-2008, 04:27 PM
  5. Count unique values and create list based on these values
    By Alan Beban in forum Excel Formulas & Functions
    Replies: 42
    Last Post: 09-06-2005, 07:05 PM
  6. [SOLVED] Count unique values and create list based on these values
    By vipa2000 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 10:05 AM
  7. [SOLVED] Count unique values and create list based on these values
    By vipa2000 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 10:05 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