Question: She wants to add a code to the database that assigns a 1 to the item if it is unique, and if there are duplicates,


She wants to add a code to the database that assigns a 1 to the item if it is unique, and if there are duplicates, assigns the number of the duplicate. An example is shown below. The first two items are unique, so the repeat code is 1. However, item ID 37692 is listed six times, so the codes are assigned from 1 to 6, and so on. Explain how to assign the correct code using an IF statement. A 1 Item ID Repeat Code 35078 35088 37692 1 4 1 37692 2 3 4 5 37692 7 37692 8 37692 37692 10 37712 11 37713 12 37737 13 37737 1 1 1 23. A manager has a list of items that have been sorted according to an item ID. Some of them are duplicates
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
