+ Reply to Thread
Results 1 to 4 of 4

Macro for the countif formula

  1. #1
    Registered User
    Join Date
    04-17-2012
    Location
    Pune, india
    MS-Off Ver
    Excel 2010
    Posts
    12

    Macro for the countif formula

    Hi All,

    Could someone record a macro for the below formula :

    =COUNTIF('Sheet1'!$A$1:$A$100,"*"&$D2&"*"&E$1&"*")

    Thanks in advance ...
    Nandu Neerukonda

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Macro for the below formulae

    You can record it with the macro recorder.

    Then you will get the VBA code.

  3. #3
    Registered User
    Join Date
    04-17-2012
    Location
    Pune, india
    MS-Off Ver
    Excel 2010
    Posts
    12

    Re: Macro for the below formulae

    I can run the formula successfully on the cells.......

    but when recording a macro it throws me an error ... near exclamatory mark.

  4. #4
    Registered User
    Join Date
    04-17-2012
    Location
    Pune, india
    MS-Off Ver
    Excel 2010
    Posts
    12

    Re: Macro for the below formulae

    bump post .....

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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