Sorry if this is simplistic, but...

Is there a macro command to execute an "if"-function-like check to do something like deleting all rows if and only if a vale is in a column?