Question

In: Computer Science

Sally Artisan Bakery makes a variety of organic bread. The bakery is open every day from...

Sally Artisan Bakery makes a variety of organic bread. The bakery is open every day from 7 AM to 6 PM. At 4 PM each day, the bakery marks down its goods by 25%. It also offers a 10% discount every Sunday before 10 AM. Design a spreadsheet that displays the current date/time in one cell. Have your spreadsheet display the correct amount due when the user enters a sale amount, assuming no taxes will be charged.

Solutions

Expert Solution

Final output would be like this

  1. 1. First open excel and in A1 Type "Time" in A2 Type " Day" Type the Text as shown in Column C
  2. In E5 to E10 Type Your menu
  3. Next Column is for Price Set That
  4. Type Quantity
  5. IN H13,H14,H15 Type the text as shown
  6. Now after all the hardcoded text lets start the actual code and formula that wil help you to achieve this
  7. Open Macro Editer by Hitting the Key Alt+F11
  8. select this and then insert the following snippet
  9. Dim SchedRecalc As Date
    
    Sub Recalc()
    
    With Sheet1.Range("B1")
    
    .Value = Format(Time, "hh:mm:ss AM/PM")
    
    End With
    
    Call SetTime
    
    End Sub
    
    Sub SetTime()
    
    SchedRecalc = Now + TimeValue("00:00:01")
    
    Application.OnTime SchedRecalc, "Recalc"
    
    End Sub
    
    Sub Disable()
    
    On Error Resume Next
    
    Application.OnTime EarliestTime:=SchedRecalc, Procedure:="Recalc", Schedule:=False
    
    End Sub
    
  10. After entering this paste the same script in SHEET1 in the left hand side and then save the file as .xlsm
  11. now open the sheet again and hit alt+f8 slect SetTime from the list and give it a shortcut key, now everytime you open the exccel you need to hit the jey combination which you gave in step 12
  12. after that you will see a clock ticking in B1, after that in B2 type the formula =TEXT(DAY(TODAY()),"dddd")
  13. IN E1 Type formula : =IF(B1="","",IF(AND(B1>=(--"4:00 PM"),B1<(--"4:01 PM")),0.75,1))
  14. In E2 Type Formula: =IF(B2="Sunday","yes","No")
  15. In E3 Type Formula : =IF(B1="","",IF(B1<(--"10:00 AM"),0.9,1))
  16. In L6 Typer Formula : =IF(ISBLANK(J6),0,J6*H6) and then drag till L10 it will the slected cell with 0
  17. In L13 Type Formula : =SUM(L6:L10)
  18. In L15 Type Formula : =IF(E2<>"yes",E1*SUM(L6:L10),E3*SUM(L6:L10))
  19. in L14 Type Formula: =L13-L15
  20. Now after that save the excel sheet and start again , and press the shortcut key selected in step 12
  21. Fill the Values in Quantity section and all the fields will auto populate with the values

Feel free to reply if you face any issues


Related Solutions

The number of loaves of bread sold per day by an organic bakery over the past...
The number of loaves of bread sold per day by an organic bakery over the past five years can be treated as a random variable that is normally distributed. This distribution has a mean of 77.5 and a standard deviation of 14.4 loaves. Suppose a random sample of 36 days has been selected. Determine the probability that the average number of loaves sold in the sample of days exceeds 80 loaves. First find the standard error of the mean. Now...
John runs a bakery making artisan bread. Which of the following would be considered a product...
John runs a bakery making artisan bread. Which of the following would be considered a product cost? (check all that apply) Group of answer choices energy utilities the monthly rental payment on the bakery the cost of the dough used to make the bread the cost of the packaging materials (plastic bags) used for a loaf of bread
Exercise 5: Day Old Bread A bakery sells loaves of bread for £1.49 each. Day old...
Exercise 5: Day Old Bread A bakery sells loaves of bread for £1.49 each. Day old bread is discounted by 60 percent. Write a program that begins by reading the number of loaves of day old bread being purchased from the user. Then your program should display the regular price for the bread, the discount because it is a day old, and the total price. All of the values should be displayed using two decimal places, and the decimal points...
Solve question by python Question: Day Old Bread A bakery sells loaves of bread for $3.49...
Solve question by python Question: Day Old Bread A bakery sells loaves of bread for $3.49 each. Day old bread is discounted by 60 percent. Write a program that begins by reading the number of loaves of day-old bread being purchased from the user. Then your program should display the: • Regular price for the bread • The discount because it is a day old • The total price. Reading input: 1 mark All of the values should be displayed...
Assume you run a bakery that produces organic bread which is characterized as being a very...
Assume you run a bakery that produces organic bread which is characterized as being a very competitive industry with a large number of bakeries. You know that you, as a single bakery, cannot impact bread prices observed in the marketplace. Assume you are attempting to maximize profit. You have hired an economist to provide a forecast of next month's market price for organic whole wheat bread. He returns an analysis that indicates that the most likely price next month will...
A bakery opens every day from Monday to Saturday, but only in the morning on Wednesdays....
A bakery opens every day from Monday to Saturday, but only in the morning on Wednesdays. It is known that the number of bread rolls sold daily follows a Gaussian distribution with mean 130 and standard deviation 20 with the exception of Wednesdays for which the distribution of the number of bread rolls sold is still Gaussian but with mean 100 and standard deviation 30. (a) What is the probability that on a Wednesday the bakery will sell more than...
Sally is tracking her spending. Every day for n days, Sally tracks the exact amount of...
Sally is tracking her spending. Every day for n days, Sally tracks the exact amount of dollars he spends that day, which is a nonnegative real number but not necessarily an integer. For positive integers i ≤ n, he spends xi dollars on day i. For example, on day 1, he spends x1 dollars. At the end of the n days, he calculates the average daily amount he spends on his food to be averagex = (x1 + x2 +...
Lucky Restaurant makes and sells a variety of soups. It also makes and sells whole-grain bread....
Lucky Restaurant makes and sells a variety of soups. It also makes and sells whole-grain bread. It anticipates the following financial performance for its bread business during the month of May. Total Per Loaf Capacity (in loaves) 25,000 Production & Sales (in loaves) 22,000 Revenue $220,000` $10.00 Variable production costs 68,200 3.1 Variable selling & admin. costs 33,000 1.5 Fixed production overhead 38,000 1.4 Fixed selling & admin. costs 6,600 0.3 Operating Income $81,400 $3.70 Lucky's management expects its selling...
How would changing the type of bread (fresh from a bakery, no preservatives vs. prepackaged with...
How would changing the type of bread (fresh from a bakery, no preservatives vs. prepackaged with preservatives) affect the results of mold growth ? Describe an experiment that would test your hypothesis.”
Danny's Delights is a wholesales bakery. Danny makes a variety of baked Goods, which he sells...
Danny's Delights is a wholesales bakery. Danny makes a variety of baked Goods, which he sells to restaurants and grocery stores. His best-selling item is a peanut butter cookie. The recipe calls for 1 cup of peanut butter, 1 cup of sugar and 1 egg. Each recipe makes a batch of one dozen cookies. Danny's standard direct materials cost for each batch of cookies is $0,90 for peanut butter, $0.15 for sugar and $0.10 for an egg. In additiion, the...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT