Microsoft Excel - Validate no duplicate value in other group

Asked By Loo KL
21-Oct-10 06:13 AM
Hi Everyone,

Can somebody advice me on how excel function alert or find duplicate value in other group?
Meaning value can duplicate within it group by no in others group.

Example :-
Group      Invoice#    Duplicate Yes / No?
Group A    Inv001        No   
Group A    Inv001        No

Group B    Inv002        No  

Group C    Inv001        Yes       

Remark : Group C has enter duplicate Invoice#  Inv001 . 

Can excel formual solve this ?

Thanks in advance.

Loo 
  Rolf Jaeger replied to Loo KL
21-Oct-10 11:26 AM
Hi Loo:

this formula ALMOST does the trick (assuming that your table starts in cell A2):

=IF(SUMPRODUCT((A$2:A$7<>A2)*(B$2:B$7=B2))>0,"Yes","No")

HOWEVER, since it looks for any entry with the same invoice number in a different group it will also flag the first two entries in your table.

Hope this helped,
Rolf
  Loo KL replied to Rolf Jaeger
22-Oct-10 12:19 AM
Hi Rolf,

Thanks for your help. It work great!
Even those it will flag the first two entry , once user change Invoice# then it become no duplicate.
I'll set Conditional Formatting to highlight value "YES".

Appreciate your help.

RGDS,
Loo  
Create New Account
help
can quadratic equations be solved in excel Excel Excel Miscellaneous Discussions Microsoft Excel (1) VBA (1) Bliengme (1) Sendyou (1) Addy (1) Cid (1) Yes Send me private message (get my email addy from my website) and I will send you a same file best wishes - - Bernard Liengme Microsoft Excel MVP http: / / people.stfx.ca / bliengme Have a look at these files stored in my
Filter in Microsoft Excel Excel Hi all, I am using microsoft excel 2000. I need help in filtering the data. I have two columns as below Name follows. b How we will define this filter. Please help me. . . . Thanx for reading. Robin Excel Worksheet Discussions Microsoft Excel (1) SUMPRODUCT (1) COUNTIF (1) OFFSET (1) COLUMN (1) VBA (1) À´ªàµà´¤àµ
How to delete a workbook in Microsoft Excel Excel Excel New Users Discussions Microsoft Excel (1) Workbook (1) VBA (1) You mean delete a file using excel? If yes, then you can look at Kill in VBA's help. It has a nice example
Excel 2007 Taskbar Tab shows Icon + "Microsoft Excel - filename" Excel Windows Vista Bus / Excel 2007: How do I show just the filename on my Excel taskbar tabs? My taskbar shows [Excel Icon] "Microsoft Excel - Filename1", with multiple tabs on my taskbar I typically can't see which "Filename
CONDITIONAL SUMMING (URGENT) Excel Hi, Data as follows: A B C ID1 YES YES ID2 YES ID3 YES ID1 ID4 YES YES ID2 YES ID2 YES YES What formula to be inserted in Column D to result the number