check for previous entry

M

MichaelCasper

I use column "D" for entering invoice numbers.How can I have Excel lock at
all previous enteries to see if I am duplicating an entry on any other row of
column "D"
 
S

smartin

MichaelCasper said:
I use column "D" for entering invoice numbers.How can I have Excel lock at
all previous enteries to see if I am duplicating an entry on any other row of
column "D"

Hello,

Max gave a good solution. Something else you could try is conditional
formatting:

Place the cursor in D1 and click the D column header to select the
entire column.

Choose Format | Conditional Formatting and fill in the options as follows:

Condition1:
change to Formula is
=COUNTIF(D:D,D1)>1

Click the Format button and choose something eye-catching, e.g., yellow
shading with red font.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top