Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A manager has a list of items that have been sorted according to an item ID . Some of them are duplicates. She wants to

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 37693 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.
Click the icon to view the Item ID and Repeat Code data.
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?
A.)>(A2,B2+1,1
B.)=(A2,B2,1
C.)>(A2,1,B2+1
D.)=(A2,1,B2+1
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Visual Basic Net Database Programming

Authors: Rod Stephens

1st Edition

0789726815, 978-0789726810

More Books

Students also viewed these Databases questions