Question

In: Computer Science

Do your best to write a formula that will automatically calculate total price for any amount...

Do your best to write a formula that will automatically calculate total price for any amount of units placed in C12.
Unit Quantity Price per unit
Below 5 36
5 to 10 34
11 to 30 31
31 to 50 26
51 above 20
# of Units
Total Price (your formula here)
Sheet 4 -

Write a VBA function that changes the cell value of E3. Create a button on sheet 4 to increase the value by 1. Name this button "Higher". Then create a button below it that will decrease the number by 1 and name it "Lower". Save the function so we can review it.

The value of E3 is 40

Solutions

Expert Solution

Solution

---

Write a VBA function that changes the cell value of E3. Create a button on sheet 4 to increase the value by 1. Name this button "Higher". Then create a button below it that will decrease the number by 1 and name it "Lower". Save the function so we can review it.

The value of E3 is 40

go to sheet4

Create two buttons "Higher" and "Lower"

for creating buttons

go to developers tab

and click Insert

select

Now select properties

in the properties

go to caption and change the name to Higher

Now double click on Button "Higher"

and write the following VBA code

Code

Private Sub CommandButton1_Click()
Range("E3").Value = Range("E3").Value + 1
End Sub

Screenshot

now click the Button Higher value will be increased by 1

--

same procedure do it for "Lower"

code

Private Sub CommandButton2_Click()
Range("E3").Value = Range("E3").Value - 1
End Sub

--

if you have any doubt, please mention it

love to help

all the best

please upvote


Related Solutions

1. Calculate the compound amount. Use the compound amount formula and a calculator. (Round your answer...
1. Calculate the compound amount. Use the compound amount formula and a calculator. (Round your answer to two decimal places.) P = $1700, r = 5% compounded semiannually, t = 12 years 2. Calculate the future value. (Round your answer to two decimal places.) P = $8000, r = 5.5% compounded quarterly, t = 3 years 3.Calculate the future value. (Round your answer to two decimal places.) P = $29,000, r = 8% compounded monthly, t = 5 years
Write a program to ask the user to en ter the total amount spent at best...
Write a program to ask the user to en ter the total amount spent at best buy before taxes. Assuming the sales tax applied is 5.7%, display the total amount after taxes and the amount added by the sales tax. Be sure to document your program (add comments) . C++ program
Your task is to write a program in C or C++ that calculates the total amount...
Your task is to write a program in C or C++ that calculates the total amount of money a person has made over the last year. Your program will prompt the user for dollar amounts showing how much the user has made per job. Some users will have had more than one job, make sure your program allows for this. The program will print out the total made (all jobs) and will print out the federal and state taxes based...
Which of the following best describes the formula for the total return on a stock? Select...
Which of the following best describes the formula for the total return on a stock? Select one: a. The total return on a share of stock is calculated by adding the dividend yield and the capital gains yield. b. The total return on a share of stock is calculated by dividing the dividend yield and the capital gains yield. c. The total return on a share of stock is calculated by adding the dividend yield and the firm's management expense...
Provide enough information for your peers to be able to calculate a company's total, price, and...
Provide enough information for your peers to be able to calculate a company's total, price, and quantity variances. You can focus on labor or materials, whichever you would prefer.
Is there a way to design an experiment to calculate the total amount of weight or...
Is there a way to design an experiment to calculate the total amount of weight or force a material (such as fabrics/toilet paper) can support before breaking that does not revolve around the usage of tensile strength test or extremely large masses? Can we design an experiment that can be small scaled?
Write a function that implements the following formula to calculates the amount of financial assistance for...
Write a function that implements the following formula to calculates the amount of financial assistance for families in need: • If the annual family income is between $30,000 and $40,000 and the family has at least 3 children, the assistance amount will be $1,000 per child. • If the annual family income is between $20,000 and $30,000 and the family has at least 2 children, the assistance amount will be $1,500 per child. • If the annual family income is...
 Estimate a Total Benefit and Total Cost formula for your product. In Excel, produce a...
 Estimate a Total Benefit and Total Cost formula for your product. In Excel, produce a chart that shows both functions with 50 data points (i.e. A=1…50). You decide what is A in your case (i.e. number of workers, hours of labor, etc. This is important because is going to determine your costs and profit).
1. Find the correct excel formula to find the total in a retirment account: Monthly Amount...
1. Find the correct excel formula to find the total in a retirment account: Monthly Amount = $1250 Interest Rate = 2.0% Years in Account = 12.3 2. How much interest did you gain if you invested in a retirement plan with a rate of 2.5% over 42 years? Your monthly deposits totaled $520.
I wonder how is the FORMULA TO CALCULATE % change in sales, Projected total assets, and...
I wonder how is the FORMULA TO CALCULATE % change in sales, Projected total assets, and Projected Current Liabilities! I know the answer but I do not know where does the answer comes from. I NEED A FORMULA. NOT JUST A NUMBER Here is the question and answer : XYZ has the following financial information for 2018: Sales = $2M, Net Inc. = $0.4M, Div. = $0.1M C.A. = $0.4M, F.A. = $3.6M C.L. = $0.2M, LTD = $1M, C.S....
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT