Results 1 to 3 of 3

Countif formula for n number of rows and columns in macros vba

Threaded View

  1. #1
    Registered User
    Join Date
    08-01-2013
    Location
    chennai
    MS-Off Ver
    Excel 2010
    Posts
    2

    Countif formula for n number of rows and columns in macros vba

    hi ,

    currently i am working n a excel sheet , i need to include an countif formula column after the last column. and the formula should be pasted till the last value in the row.

    ex: if three columns are there then count if column should be inserted in d column. Columns counts are varying and also rows count. Countif function to sum the "X" count .

    A B C Count if
    1 a x 1
    2 x x 2
    x x x 3

    The number of rows are varying. In some some sheets more rows are coming. i am unable to write the macros.

    Kindly help me.
    Last edited by araffi2011; 08-01-2013 at 03:59 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Enter a sum formula in each of an unknown number of rows - macros
    By ahilty in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-08-2013, 04:07 PM
  2. Replies: 1
    Last Post: 03-28-2013, 01:48 PM
  3. [SOLVED] COUNTIF last number of rows =formula
    By JTM1200 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 11-10-2012, 07:03 PM
  4. Autofilling a formula a defined number of columns and rows.
    By JohnnyBGood in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-12-2010, 06:11 AM
  5. Replies: 0
    Last Post: 01-05-2005, 09:31 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