+ Reply to Thread
Results 1 to 3 of 3

Need VBA worksheetfunction.stdev based on cell value criteria

  1. #1
    Registered User
    Join Date
    05-13-2013
    Location
    Chicago
    MS-Off Ver
    Excel 2007
    Posts
    2

    Need VBA worksheetfunction.stdev based on cell value criteria

    Thank you in advance for whatever help you can provide.

    I am able to use the formula {=STDEV(IF(B1:B7>1,B1:B7,""))} (entered as an array by pressing control + shift+ enter) in my spreadsheet, but I would like to incorporate it in a macro as a worksheetfunction. My goal is to calculate the standard deviation of some cells based on cell value criteria. Any thoughts?

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,437

    Re: Need VBA worksheetfunction.stdev based on cell value criteria

    output formula to D2
    Please Login or Register  to view this content.
    Cheers
    Andy
    www.andypope.info

  3. #3
    Registered User
    Join Date
    05-13-2013
    Location
    Chicago
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Need VBA worksheetfunction.stdev based on cell value criteria

    Thanks Andy! Jeff

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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