A manager has a list of items that have been sorted according to an item ID. Some of them 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 37695
A manager has a list of items that have been sorted according to an item ID. Some of them are duplicates. She wants to add a code to the
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
Item ID Repeat Code
35080 1
35222 1
37695 1
37695 2
37695 3
37695 4
37695 5
37695 6
37712 1
37722 1
37757 1
37757 2
In cell B2 enter 1, and then type a formula into cell B3, followed by dragging the formula down column B until it aligns with the last row in the Item ID column. Which of the following is the correct formula to type into cell B3?
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 1 images