Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Q 1 . Write a reference, in VBA code, to each of the following ranges. ( You can assume that each of these ranges is
Q Write a reference, in VBA code, to each of the following ranges. You can assume that each of these ranges is in the active worksheet of the active workbook, so that you dont have to qualify the references by worksheet or workbook. Heres an example. Question: The cell one column to the right and two rows below Cell A Answer: Range AOffset
a The fifth cell of the range B:B
b The cell at the intersection of the th row and th column of the range A:Z
c The cell at the intersection of the th row and th column of the range that has been set to a Range object variable named SalesRange.
d A range of employee names, assuming the first is in cell B and they extend down column B although you dont know how many there are
Q Write a VBA program consisting of a single subroutine to check existence of a given value in a list. Specifically, you are given a list of product IDs in column A as follows:
You dont know how many products there are. The user enters a value in an input box eg X and the code checks this against the list and returns a message box stating either that the product is in the list egProduct X was found or not Product X was NOT found Write the code here no need to turn in any Excel file
Q This question refers to the Sales Orders database in Week Learning Materials & Resources. Write SQL queries below for each of the following. Note that I am asking for the SQL query only, not the results of that query. Heres an example. Question: List the entire customers table. Answer: Select From Customers
a List the names and cities of all customers
b List the different states the vendors come from unique values only, no duplicates
c Find the number of customers in California
d List names of all employees who have sold to customer Rachel Patterson Note: You can only use the information given in the question, ie you cannot first look up Rachel Pattersons Customer ID and use that ID in your query
Q What are the three main categories of analytics? Briefly describe a possible analytics application from each of these categories in the retail industry.
Q Use the Kmeans clustering technique described in a video in Week Learning Materials & Resources to form two clusters of the following data: starting with and as the two initial clusters.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started