December 17th, 2009, 7:49 am
Don't think you can. Excel is not very good at handling Primary Key like problems. Your best bet would be to use List validation, but I don't know how long a list can. You then reference a seperate table of available invoice numbers. Even this means you will still get duplicates, but at least they are consistent! You would then need to perform some other validation routine.To be honest build it in a database would be better. Even if you don't have MS Access / can't afford Access then you could build a DB in MYSQL and use Excel as the front end through ADO.