+ Reply to Thread
Results 1 to 7 of 7

calculate average in a particular column for every 100 degree increasein some other column

  1. #1
    Forum Contributor
    Join Date
    07-23-2013
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    106

    calculate average in a particular column for every 100 degree increasein some other column

    Dear Sir / Madam,

    Please give me the VB macro coding for excel:
    To calculate average in a particular column for every 100 values in some other column? pls give me the complete coding ....
    Like there are two columns namely TT(TEMPEARATURE TIME) and WATER SUPPLY DEMAND.
    when TT column increases for every 100 values (ie., 100, 200, 300, 400,.... so on), I need the average of WATERSD to be calculated at that 100th value.. please give me the complete coding.... as soon as possible, I need it very urgently...

    More clearly... see in this whenever the TT value is reaching approx. to 100 then the average of water SD has to be calculated at that value… for example, TT approx. reaches 100 at 13th row, now at this row the average of waterSD has to be calculated… then again at 20th row when TT is Approx reaches next 100th value i.e., 200… now at this row the average of water SD has to be calculated… likewise for every 100 increase in TT column, the average of Water SD has to be calculated.( and not at 100th row as in the prev code)..
    It would be highly helpful for me, if u can modify the code and give me.. pls do help me …
    I HAVE ALSO ATTACHED THE EXACT EXCEL FILE FOR YOUR KIND REFERNCE AND PERUSAL...

    1. TT WaterSD
    2. 0 1
    3. 0 1
    4. 0 1
    5. 13.194 1
    6. 20.911 1
    7. 32.551 1
    8. 37.519 1
    9. 40.601 1
    10. 55.486 1
    11. 69.986 1
    12. 84.336 1
    13. 99.662 1
    14. 114.751 1
    15. 129.835 1
    16. 144.17 1
    17. 159.148 1
    18. 172.955 1
    19. 187.301 1
    20. 201.842 1
    21. 217.044 1
    22. 231.639 1
    23. 246.388 1
    24. 261.28 1
    25. 275.669 1
    26. 290.487 1
    27. 303.537 1
    28. 316.197 1
    29. 328.542 1
    30. 340.692 1
    31. 352.792 1
    32. 366.13 1
    33. 380.516 1
    34. 395.255 1
    35. 408.905 1
    36. 421.855 1
    37. 433.705 1
    38. 447.105 1
    39. 459.905 1
    40. 473.455 1
    41. 487.996 1
    42. 502.385 1
    ALREADY TRIED CODE:
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by Dharani Suresh; 07-23-2013 at 07:08 AM. Reason: title changing according to the forum rule

  2. #2
    Forum Expert
    Join Date
    07-15-2012
    Location
    Leghorn, Italy
    MS-Off Ver
    Excel 2010
    Posts
    3,431

    Re: Please give me the VB macro coding in excel for the following question:?

    attach please a sample xls file with data and desired result
    If solved remember to mark Thread as solved

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

    Re: Please give me the VB macro coding in excel for the following question:?

    Please take a moment to read the forum rules and then amend your thread title to something descriptive of your problem. Once you have done this please send me a PM and I will remove this request.

    To change a Title on your post, click EDIT POST then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.
    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]

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

    Re: Please give me the VB macro coding in excel for the following question:?

    Your title does not comply with rule 1. Please change it, then the users will be able to help you.

  5. #5
    Forum Contributor
    Join Date
    07-23-2013
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    106

    Re: Please give me the VB macro coding in excel for the following question:?

    Quote Originally Posted by arlu1201 View Post
    Your title does not comply with rule 1. Please change it, then the users will be able to help you.
    Sir I don't know how u r expecting me to do things.. pls guide me...

  6. #6
    Forum Contributor
    Join Date
    07-23-2013
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    106

    Re: Please give me the VB macro coding in excel for the following question:?

    sir pls tell me what are the rules in order to post a thread... so that I could that.... but pls help me in solving this problem, its very urgent for me pls...

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

    Re: Please give me the VB macro coding in excel for the following question:?

    Click on Edit Post, Go advanced. You will see the edit title box - enter this "calculate average in a particular column for every 100 values in some other column". Click on save changes.

+ 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. [SOLVED] Bulk emails send use outlook & excel coding macro
    By sonu_kumar444 in forum Outlook Formatting & Functions
    Replies: 0
    Last Post: 12-26-2012, 08:06 AM
  2. Urgent help for writing text file to excel using macro coding
    By praveenvinay in forum Excel General
    Replies: 0
    Last Post: 06-26-2012, 09:02 AM
  3. Question on Coding for Excel
    By cwwaicw311 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-02-2010, 02:31 AM
  4. Can i see the excel coding with out macro?
    By ramkumar_cpt in forum Excel General
    Replies: 5
    Last Post: 11-22-2005, 12:40 AM
  5. Implant macro coding into ASP coding
    By Sam yong in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-15-2005, 06:05 AM

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