Duplicate checker with Date Involved

29sandesh

New Member
Joined
Sep 5, 2013
Messages
49
Hi team, I am stuck and any help is highly appreciated. Have 3 columns as below. SKU id can be anything. I need help trying to have a formula for column C. If the SKU is used for first time column C should say NO . I tried =IF(COUNTIF(C:C,C2)=1,"No","Yes") but its not useful in this condition.

Order Date | SKUID | IS SKU ID REPEATED BEFORE THIS DATE
10 July | 10001 | NO
11 July | 10002 | NO
12 July | 10003 | NO
13 July | 10001 | YES
14 July | 10001 | YES
15 July | 10005 | NO
16 July | 10006 | NO
17 July | 10002 | YES
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
Try:
Code:
IF(COUNTIF(B$2:B2,B2)=1,"NO","YES")
 
Last edited:
Upvote 0
Or =CHOOSE(ISNUMBER(MATCH(B2,$B$1:B1,0))+1,"No","Yes")
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top