Check Excel cell from a range

I need to check in an excel 2013 sheet the following
    Column  F has desired values  (in multiple rows)
     Column C has extracted values  (in multiple rows)

I need to make sure each cell in column c is one of the value in column F
I could try  formula  =IF(COUNTIF(F3:F14,C4),"Yes","No") in column D  and it works
But the problem is, When I copy formula to next row, say row 5 the range also increments
 On row 5, I SHOULD get =IF(COUNTIF(F3:F14,C5),"Yes","No")
But Instead I am getting now on row 5 =IF(COUNTIF(F4:F14,C5),"Yes","No")  - The range also increments after copy

Is there an alterante solution?
Sam OZAsked:
Who is Participating?
 
Ryan ChongConnect With a Mentor Commented:
try use $ sign in case you want to refer to fixed range.

see if this worked for you?

=IF(COUNTIF($F$3:$F$14,C4),"Yes","No")
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.