Can anyone help..................

I'm trying to replace fixed cell references with variables in the COUNTIF formula

Does anyone know how to............