+ Reply to Thread
Results 1 to 17 of 17

Convert CountIfs formula to VBA

Hybrid View

  1. #1
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,983

    Re: Convert CountIfs formula to VBA

    PS you can also use Evaluate with your original formula string and assign the result to the range directly if you prefer.
    Everyone who confuses correlation and causation ends up dead.

  2. #2
    Forum Contributor
    Join Date
    12-01-2007
    Location
    USA-North Carolina
    MS-Off Ver
    MS Office 2016
    Posts
    2,712

    Re: Convert CountIfs formula to VBA

    is this the way you would do it instead of using the application.worksheetfunctions?

  3. #3
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,983

    Re: Convert CountIfs formula to VBA

    Yes, it is.
    (well, strictly speaking, I would probably redesign the entire workbook if it were that slow)

  4. #4
    Forum Contributor
    Join Date
    12-01-2007
    Location
    USA-North Carolina
    MS-Off Ver
    MS Office 2016
    Posts
    2,712

    Re: Convert CountIfs formula to VBA

    thats kinda what i am trying to do via not using formulas where i can but instead values........

  5. #5
    Forum Contributor
    Join Date
    12-01-2007
    Location
    USA-North Carolina
    MS-Off Ver
    MS Office 2016
    Posts
    2,712

    Re: Convert CountIfs formula to VBA

    so how wouldi use the Evaluate.........

+ 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