I want to do a standard deviation calculation that omits any numbers from the calculation that are greater than (or less than) the number in a specific cell. I have a macro to create a StDevIf function that will only use the numbers that match that criteria in the same row, but I am not sure how to modify it so that I can use a greater than (or less than) cell reference as the criteria (see code below). Also is there any way to add a new function that can be used in non-macro enabled workbooks? Thank you for your help in advance.
HTML Code:
Bookmarks