Question: Write a macro and create a macro button for the following: For Wealth Choice Group ( i . e . WCG ) , a .
Write a macro and create a macro button for the following: For Wealth Choice Group
ie WCG
a what is the Total average yearly sales from Texas ie TX Pub that are were
established before Present your answer in Queries sheet.
b Repeat step a but this time, let the user enter the state. If the function returns
an error eg Div display a message saying No sales for the given state
otherwise, display the average.
To serve community, the company will provide donations for community organizations
in each state. The donation is calculated as follows:
a If the state is TX and the average sales are greater than the company
will donate of its average sales
b If the state is NY and the sales are greater than the company will denote
of its average sales
c In all other states and conditions, the company will donate of its average
sales.
Calculate the company donations in the column Question
What is the sum of average yearly sales in the city of Marina or Salinas established
between and Create a macro and macro button in the Queries
sheet
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
