Hey Everyone,
Im still super new at this VBA stuff. But I am trying to devise a way to automatically pull data from my worksheet and exclude any outliers that is inputted by the user as "Yes" in another section of the worksheet then be able to use a basic STDEV function for the rest of the data.
My thoughts are either a loop system in which it checks each row of given range of data for "Yes" and then stores the Value associated with that row in a designated list or array. Then If does not contain "Yes" it stores in a separate list or array that I can then use a STDEV function on it.
My second thought is to build a function of STDEV with a capability of ignoring any "yes" values.
Thank you in advance
Im still super new at this VBA stuff. But I am trying to devise a way to automatically pull data from my worksheet and exclude any outliers that is inputted by the user as "Yes" in another section of the worksheet then be able to use a basic STDEV function for the rest of the data.
My thoughts are either a loop system in which it checks each row of given range of data for "Yes" and then stores the Value associated with that row in a designated list or array. Then If does not contain "Yes" it stores in a separate list or array that I can then use a STDEV function on it.
My second thought is to build a function of STDEV with a capability of ignoring any "yes" values.
Thank you in advance