Here is the display of a worksheet. 1 Name Monthly Salary HK$12,265 2 Peter 3 Ann...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Here is the display of a worksheet. 1 Name Monthly Salary HK$12,265 2 Peter 3 Ann HK$14,780 HK$16,790 HK$30,165 4 Bob 5 Cathy 6. 7 Average HK$18,500 The numbers displayed in the worksheet have been formatted with the currency format so that a number 1000 would be displayed as 'HK$1,000: The average salary of the four people in cell B7 is calculated bya macro shown below. Sub ComputerAveragešalary() Dim Row As Integer, Sum As Long Dim CountRow As Integer Sum = 0 CountRow =e For Row = 2 To 5 Sum = Sum + Cells (Row, 2). Value CountRow = CountRow + 1 Next Row Range("B7").Value= Blank End Sub You need to fill in the blank so that the average is calculated correctly for the four people in the table. You cannot use any number in your answer. You can only use variables and operators. You need to write the answer clearly in the box below. Do not write any spaces in the answer. For example, if you need to write an expression such as A+ B., you will write A+B without any spaces in between. Here is the display of a worksheet. 1 Name Monthly Salary HK$12,265 2 Peter 3 Ann HK$14,780 HK$16,790 HK$30,165 4 Bob 5 Cathy 6. 7 Average HK$18,500 The numbers displayed in the worksheet have been formatted with the currency format so that a number 1000 would be displayed as 'HK$1,000: The average salary of the four people in cell B7 is calculated bya macro shown below. Sub ComputerAveragešalary() Dim Row As Integer, Sum As Long Dim CountRow As Integer Sum = 0 CountRow =e For Row = 2 To 5 Sum = Sum + Cells (Row, 2). Value CountRow = CountRow + 1 Next Row Range("B7").Value= Blank End Sub You need to fill in the blank so that the average is calculated correctly for the four people in the table. You cannot use any number in your answer. You can only use variables and operators. You need to write the answer clearly in the box below. Do not write any spaces in the answer. For example, if you need to write an expression such as A+ B., you will write A+B without any spaces in between.
Expert Answer:
Answer rating: 100% (QA)
The answer in the blank would be SumCountRow See a loop has b... View the full answer
Related Book For
Posted Date:
Students also viewed these programming questions
-
Convert the following problems from their English expressions to Excel formulas that allow Excel to calculate the answers. Refer to the worksheet "Sales April 2006'. John Tam is the boss of NewBest,...
-
Use appropriate percentages to fill in the blank cells of the table that represents a set of data for a Lorenz curve. PERCENT OF INCOME PERCENT OF POPULATION 20 20 20 20 20 20 50
-
Here are some numbers that you can use to sharpen your computational skills for sample size determination. Crest Toothpaste is reviewing plans for its annual survey of toothpaste purchasers. With...
-
An inductor has a linear change in current from 50 mA to 100 mA in 2 ms and induces a voltage of 160 mV. Calculate the value of the inductor.
-
Express the partial fraction decomposition of each rational function without computing the exact coefficients. For example (a) (3-4x2)/(2x+1)3 (b) (7x-41)/(x-1)2 (2-x)3 (c) (3x+1)/(x2 + x +10)2 (d)...
-
The following is the expression for the vector E-field of an electromagnetic wave traveling in a homogeneous dielectric: Here v = 1.80 Ã 10 15 rad/s and k = 1.20 Ã 10 7 rad/m. (a)...
-
In 2004, Jui-Chen Lin, a citizen of China, entered into an agreement with Robert Chiu and Charles Cobb, citizens of the United States, to form an LLC to acquire and operate a fast-food restaurant in...
-
For 2012, Selene Company initiated a sales promotion campaign that included the expenditure of an additional $25,000 for advertising. At the end of the year, Scott Brown, the president, is presented...
-
(5) Strong Data Processing Inequality for the Divergence. Given finite alphabets X and Y, consider a conditional probability distribution W(y|x), for (x, y) Xxy, such that for some y. y, W (y, x) > c...
-
1. A friend has offered to play a gambling game with you that involves flipping a coin that be has provided. Since a flip of heads will be to his advantage, you want to test the coin for fairness...
-
The Golden Club is a not for profit organization. Accounts are prepared annually on 31 December. Below are the assets and liabilities of the club at the beginning of the year 2018. Assets Building...
-
Raymond won a gold medal at the Tokyo Olympics for archery. As a result the US Olympic Committee awarded him $35,000. He also received $200,000 from an endorsement with archery sport company. He will...
-
You tract the market price of the T-bill on the firts of each month during the year. Below is the data. Suppose you had sold the T-bill after 5 months on November 1, 2014 for $994.29. What would you...
-
In what ways does cognitive moral development theory provide insights into the cognitive processes underlying ethical decision-making and the development of personal and organizational integrity?
-
1. What type of furniture and fixtures will you utilize in a makeup store? 2. Describe your store layout in detail of a makeup store. 3. Describe the advantages and disadvantages of the layout you...
-
Sage One vs. Quickbooks Online Document similarities, differences, express the features or qualities you appreciate in one system compared to the other and provide reasoning for the preference.
-
B Cause of death Cause of death A B C ABO 1) Research online and find a RECENT (2020/2022) graph/statistic that has been used in a misleading way. This can be from an advertisement/article/research...
-
Use multiplication or division of power series to find the first three nonzero terms in the Maclaurin series for each function. y = e x2 cos x
-
When modeling some data with an exponential regression curve, explain how to determine whether a data point is an influential point. Compare this process with modeling some data with a regression...
-
The percentages of births outside marriage in the United States are shown in Table 14 for various years. Let p be the percentage of births outside marriage in the United States at t years since 1900....
-
P (even OR at least 3) A person rolls a six-sided die once. Find the given probability in fraction form.
-
If Supreme Healthcare sells its receivables to the SPE, its consolidated fi nancial results will most likely show: A. a higher revenue for 2018. B. the same cash balance at December 31, 2018. C. the...
-
Based on Byrons forecast, NinMounts net profi t margin for 2019 most likely will be highest if the results of the acquisition are reported using: A. the equity method. B. consolidation with full...
-
Based on Byrons forecast, NinMounts 2019 total asset turnover ratio on beginning assets under the equity method is most likely: A. lower than if the results are reported using consolidation. B. the...
Study smarter with the SolutionInn App