Hello everyone. I need some help with a macro that will compare the values of two cells and delete the entire row of the cell with the smallest value.
For example: There are only two opportunities for selecting a blower size based on CFM output.
When Blower #1 is selected a CFM monitor is automatically selected and added to Sheet1.Range("A9:E9").
When Blower #2 is selected a CFM monitor is automatically selected and added to Sheet1.Range("A11:E11").
I want to keep the row that has the largest value in either A9 or A11 and delete the row that has the smallest value.
This is being done since both blowers share the same supply ducting and only one CFM monitor is needed.
Any help on this is appreciated.
Kenny
For example: There are only two opportunities for selecting a blower size based on CFM output.
When Blower #1 is selected a CFM monitor is automatically selected and added to Sheet1.Range("A9:E9").
When Blower #2 is selected a CFM monitor is automatically selected and added to Sheet1.Range("A11:E11").
I want to keep the row that has the largest value in either A9 or A11 and delete the row that has the smallest value.
This is being done since both blowers share the same supply ducting and only one CFM monitor is needed.
Any help on this is appreciated.
Kenny