How to avoid same entry in numbers

I am using a numbers file to organize my client. However, I entered one client more than one time. How can I avoid making the same entry / alert for entering the same entry?

Is there any solution?

Thanks for mac fans support

imac 24", Mac OS X (10.5.7)

Posted on May 22, 2009 6:49 AM

Reply
11 replies

May 22, 2009 7:30 AM in response to future20447

Assuming your list is in column B, then in a cell in another column, enter this formula:
=IFERROR(VLOOKUP(INDEX(B,COUNTA(B)+ROW(B)-1),OFFSET(INDIRECT(ADDRESS(ROW(B),COLU MN(B))),0,0,COUNTA(B)-1),1,FALSE),"No Duplicate")

This formula alerts you if the last item in the list was already entered. Note, it only checks the last item in the list, so if the list has 10 entries and 2 and 3 are duplicates, this formula will not alert you.

I also added a Conditional Format to make it more apparent when the value of the formula cell changed.



I didn't know how many header rows you had, so this formula is slightly more complicated to account for any number of header rows. If this formula doesn't help, just post more info. I'm sure someone can help.

Robin

May 22, 2009 8:25 AM in response to future20447

Another way to do it would be to have this formula in column C:

Cell C2=IF(COUNTIF($B,B2)>1,"DUPLICATE","")

Fill down to the end of the column with that formula. If the formula is in every cell in column C (not required in the header cell), it will automatically get filled into any new rows that you add later to the bottom of your table.

This will flag the new duplicate entry and will also flag the one further up in the table, in case you want to compare them.

May 30, 2009 1:03 PM in response to Badunit

Here is another solution. Create a footer row and put this in the footer of column B. At least that's where I'd put it.

=IF(COUNTIF(B,INDIRECT(ADDRESS(COUNTA(B)+1,2)))>1,"DUPLICATE","")

It makes the assumption that there is one header row and that the data in column B is contiguous (i.e., there are no blank cells except at the bottom of the list)

May 30, 2009 7:56 PM in response to Badunit

To locate the duplicate, you could have this formula in another footer cell, perhaps column C. "B14" in the formula is the location of the "duplicate detection" formula. It will return a string such as "Row 3" to indicate the location of the duplicate.

=IF(B14="DUPLICATE", "ROW "&MATCH(INDIRECT(ADDRESS(COUNTA(B)+1,2)),B,0))

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How to avoid same entry in numbers

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.