Using: Excel 2007.
Problem:
A spreadsheet contains many columns and rows of data. One column, called “Probability”, contains percentage values between 0% and 100%. How does one write a macro that conditionally removes a row giving it has a “Probability” value is less than 50%?
Update: This cannot simply be done by recording a macro, as the percentage values will vary with each new data upload.
Thanks!
If for example your Probability data was in column A of the active sheet, you could use Autofilter
Run the same approach in code as below