I have not visited since November and see the site has changed some. When I perform a search many of the results appear to be in HTML code instead of text so I did not find an answer to my problem.
Without using VBA code in Excel 8 (Office 97). I have a single column of numbers (Col A) and each day I need to add more numbers at the bottom of the list but I want to be sure that I have no duplicate numbers while I am entering them. I need it to look in all of the cells above the Active cell. (A1 is the heading="Regs")
I figure Conditional formatting would do the trick. I can not figure the correct way (if it is possible to use) to input an OFFSET within a range for example:
Cell Value, Is Equal to, =$A$2:OFFSET(A3,-1,0)
Meaning, If the value of A2 is equal to the value of A2:A2 then format.
or
Formula is, =$A$2:OFFSET(A3,-1,0)
or
Formula is, =IF(A3=$A$2:OFFSET(A3,-1,0))
The above will read A2 but not any further down if I use that same formula in A4, A5, A6...etc. as though it is not seeing the second part ofthe defined Range of cells.
So, for example, if my active cell is A50 then my inoperable Conditional formatting is:
Cell Value, Is Equal to, =$A$2:OFFSET(A50,-1,0) so it should look in A2:A49 and if the matching value is found then format the cell (A50).
In all of the above examples the ecell will format if the value matches the value found in A2 and no others.
Can the OFFSET be used within a formula when defining a Range of cells?
If so, what am I missing?