Hi Ashish,
Thanks for the help.
Please see below details.
Range A3 to A8 are same codes.
Versions in Columns C are related to Code (Column A)
In this case for code ABC123 versions are abc, def, wer, saq.
So we have 4 versions for ABC123.
Now in Cell B3 I have value as 4, this correct.
I have to check if this is 4.
For next case, we have Code DEF456, there are 2 versions and value in B Column is 2. I have to check if this 2 or something else.