+ Reply to Thread
Results 1 to 6 of 6

Macro code for sum and count

  1. #1
    Forum Contributor
    Join Date
    10-31-2013
    Location
    india
    MS-Off Ver
    Excel 2019
    Posts
    147

    Macro code for sum and count

    Dear Sir,

    I have attached excel file named SUM_COUNT.

    The excel file contains three sheets. Rawdata, Sum and Count

    Kindly provide me a macro to do following

    1.sum the data in Column H of worksheet named Rawdata and display in the worksheet named Sum

    2.Count the data in Column H of worksheet named Rawdata and display in the woksheet named Count.

    Regards
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    06-27-2010
    Location
    sYRIA
    MS-Off Ver
    Excel 2013
    Posts
    669

    Re: Macro code for sum and count

    No need for VBA

    Simple formula
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    08-24-2014
    Location
    Swansea
    MS-Off Ver
    Office 365
    Posts
    99

    Re: Macro code for sum and count

    Hi skml,
    You could take this a little further and future proof adding additional lines and combine the 2 sheets. Example attached.

    As always hit the reputation star if anyone in this thread has helped to solve your initial query.
    Also if your query has been resolved please use the thread tools drop down to mark this as resolved

    Leigh
    Attached Files Attached Files

  4. #4
    Forum Contributor
    Join Date
    10-31-2013
    Location
    india
    MS-Off Ver
    Excel 2019
    Posts
    147

    Re: Macro code for sum and count

    Thanks Leigh

    Tested working fine.

  5. #5
    Forum Contributor
    Join Date
    10-31-2013
    Location
    india
    MS-Off Ver
    Excel 2019
    Posts
    147

    Re: Macro code for sum and count

    thanks mohadin

    Tested working fine

  6. #6
    Valued Forum Contributor
    Join Date
    06-27-2010
    Location
    sYRIA
    MS-Off Ver
    Excel 2013
    Posts
    669

    Re: Macro code for sum and count

    You are welcome
    And thank you for the feedback
    Be happy and safe

+ 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] Macro code for Date Count in excel-reg
    By skml in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-02-2022, 11:57 AM
  2. Replies: 16
    Last Post: 09-02-2016, 10:38 AM
  3. [SOLVED] Macro code for Hex Count NOT working
    By plasma33 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-23-2015, 05:42 AM
  4. [SOLVED] Data to count, The macro code. Help.
    By pixel34 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 12-18-2013, 07:20 AM
  5. Row delete macro is effecting record count formula and vlookup code.
    By Nitefox in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 2
    Last Post: 10-13-2013, 06:23 PM
  6. [SOLVED] Macro code to count number of unique rows in a sheet.
    By jsrakesh4u in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-02-2013, 06:44 AM
  7. [SOLVED] help - count code in worksheet1 & place count in worksheet2 next to appropriate code#
    By burnettec in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 12-30-2012, 05:09 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