Hi again
Apologies that I keep posting....I do know how to use excel but sometimes I cant understand it!!
SO I have a list of letters with a Full Stop after them(A. to L.) that I have named OTCODES. I use the same letters without the full stop but I want to Conditional Format (with a fill colour)the cells with a full stop when they are used.
I apply CF to one cell using a formula =countif(OTCODES,$A$1) and apply it to cell A1......and it works.
But when I try to apply the same CF to a range of cells, =countif(OTCODES,$A$1:$NA$100) and apply it to $A$1:$NA$100, it just applies the formatting to all cells in the range irrespective of content(inc. blank).
Where am I going wrong?
Many thanks in advance.
Apologies that I keep posting....I do know how to use excel but sometimes I cant understand it!!
SO I have a list of letters with a Full Stop after them(A. to L.) that I have named OTCODES. I use the same letters without the full stop but I want to Conditional Format (with a fill colour)the cells with a full stop when they are used.
I apply CF to one cell using a formula =countif(OTCODES,$A$1) and apply it to cell A1......and it works.
But when I try to apply the same CF to a range of cells, =countif(OTCODES,$A$1:$NA$100) and apply it to $A$1:$NA$100, it just applies the formatting to all cells in the range irrespective of content(inc. blank).
Where am I going wrong?
Many thanks in advance.