ELSEIF Used with IF. ELSEIF is used with IF. ELSEIF does not need a matching END, while ELSE IF does. See also IF, ELSE, END.