Question

Use excel Add a column called “sale type” which describes how profitable the sale was. It...

Use excel
Add a column called “sale type” which describes how profitable the sale was. It has to show one of the following values:
•   Good, if either the sale quantity is larger than 12, or the product unit price is more than $15, or the total profit is more than $90
•   Bad, if the product price is less than $10 and the quantity is less than 5, or if the total sale value is less than $80 and the payment is done by credit card.
•   Soso, otherwise
Write a formula for this column.


The Excel built-in data validation does not support all types of validation, but only the typical and basic ones. Sometimes our data validation involves more complicated schemes not found in Excel, in these cases we have to do data validation by writing formulas. Create a column called “Error” and set its color to red. For each sale show relevant error messages in this column if any of the rules are violated:
Rule 1: Only credit card transaction can have the “pending” status.
Rule 2: A sale with total value less than $50 cannot be done by credit card.
Rule 3: A sale with total value more than $500 cannot be done by cash (for security reasons!)

Homework Answers

Answer #1

Lets say that column A has number of units starting from secodn row
column B has price per unit
column C has total price (total profit)
Column E has "CC" for credit card payments
then the following formula will label a cell Good, Bad, or soso

=IF(A2>12,"Good",IF(B2>15,"Good",IF(C2>90,"Good",IF(B2<10,IF(A2<5,"Bad",IF(C2<80,IF(E2="CC","Bad","soso"),"soso")),"soso"))))

For the same table if column F has Pending for Pending transactions, the following formula in new cell gives us Error or not based on the rules given:
=IF(E2<>"CC",IF(F2="Pending","Error",IF(C2>500,"Error","Ok")),IF(C2<50,"Error","Ok"))

we can then apply select filter on the column and set cell color to be red for text Error and cell color to be green for text ok

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
3. A local college is studying the number of credit hours students take and how many...
3. A local college is studying the number of credit hours students take and how many total minutes they spend reading for fun/pleasure (e.g., non-class-related materials). They don’t know whether to expect that students will read more or less when enrolled in a lot of classes/hours or fewer hours. They study 68 students and find a correlation of -0.30. (A) State the decision rule for the 0.05 significance level. Reject H0 if t > _________ (B) Compute the value of...
DONE IN EXCEL WITH SOLVER - SHOW FORMULAS! ILL LIKE (: USES LP MODEL/SUPPLY CHAIN MODEL...
DONE IN EXCEL WITH SOLVER - SHOW FORMULAS! ILL LIKE (: USES LP MODEL/SUPPLY CHAIN MODEL Byrds Bird Supply from Ozark, Missouri, blends together three bird food products (code named Cardinal, Finch and Chickadee) using three types of seeds – Sunflower, Mixed Bird Nuts and Miniflax – as well as a seed ‘Filler’. Each lb. of Cardinal sells for $3.5/lb. Each lb. of Finch sells for $2.0/lb. Each lb. of Chickadee sells for $1.75/lb. Each lb. of Sunflowers costs $1.3/lb,...
MATH220 Lab04 Due Date: See ACE Excel File: Lab2204-182.xlsx 1 Question 1: (by hand) A retail...
MATH220 Lab04 Due Date: See ACE Excel File: Lab2204-182.xlsx 1 Question 1: (by hand) A retail establishment accepts either the American Express card or the VISA credit card. A total of 30% of its customers carry an American Express card, 70% carry a VISA card, and 20% carry both. a) Find the probability that a randomly selected customer carries at least one of the two credit cards. i) Draw a Venn diagram and shade the region corresponding to at least...
Please Check the wrong ones! 1. Which of the following best describes scarce resources? a. Resources...
Please Check the wrong ones! 1. Which of the following best describes scarce resources? a. Resources for which the quantity that people want exceeds the quantity that is freely available b. Resources that most people cannot afford to buy c. Resources for which the quantity demanded is the same for all economic agents d. Resources that can only be distributed efficiently by the government 2. Which of the following statements is true of models? a. It is more important for...
EX16_AC_CH05_GRADER_ML1_HW - Hotel Chain Project Description: You are the general manager of a large hotel chain....
EX16_AC_CH05_GRADER_ML1_HW - Hotel Chain Project Description: You are the general manager of a large hotel chain. Your establishment provides a variety of guest services ranging from rooms and conferences to weddings. The data entry accuracy of your staff could bear some improvement, so you have decided to move to Microsoft Access and implement several data validation techniques. You also will take advantage of Access's Expression Builder to help analyze data. Steps to Perform: Step   Instructions   Points Possible 1   Start Access....
Q1. Recently, there has been a noticeable increase in the demand on cryptocurrency investments. As a...
Q1. Recently, there has been a noticeable increase in the demand on cryptocurrency investments. As a result, many online companies have created electronic exchange apps to facilitate the process of buying and selling cryptocurrencies online. For this assignment, you are asked to mimic a simple cryptocurrency exchange applications. a. Create the following VB windows form: (5 points) - Make the title of the form “Redbirds Exchange”. - Disable the textboxes under Buy/Sell. - Make the GroupBox invisible (it is visible...
1. The use of a production smoothing strategy creates inventory for products that experience a seasonal...
1. The use of a production smoothing strategy creates inventory for products that experience a seasonal fluctuation in demand.   True or False ? 2. Companies belonging to the same industry segment should have the same inventory turns.  True or False ? 3. Which of the following is a work-in-process inventory for C&A Bakery? A. Flour B. Cupcakes freshly out of the oven C. Ovens D. Cupcake mix prepared from scratch 4. C&A has on average $6000 in inventory and its daily...
After reading the following article, how would you summarize it? What conclusions can be made about...
After reading the following article, how would you summarize it? What conclusions can be made about Amazon? Case 12: Amazon.com Inc.: Retailing Giant to High-Tech Player? (Internet Companies) Overview Founded by Jeff Bezos, online giant Amazon.com, Inc. (Amazon), was incorporated in the state of Washington in July 1994, and sold its first book in July 1995. In May 1997, Amazon (AMZN) completed its initial public offering and its common stock was listed on the NASDAQ Global Select Market. Amazon quickly...
Do the following problems. 1. Each of three barrels from a manufacturing line are classified as...
Do the following problems. 1. Each of three barrels from a manufacturing line are classified as either above (a) or below (b) the target weight. Provide the ordered sample space. 2. The heat on each of two soldered parts is measured and labeled as either low (l), medium (m), or high (h). State the number of elements in the ordered sample space. 3. Consider the set of Beatles songs with a primary writer as either Paul McCartney (P) or John...
The Business Case for Agility “The battle is not always to the strongest, nor the race...
The Business Case for Agility “The battle is not always to the strongest, nor the race to the swiftest, but that’s the way to bet ’em!”  —C. Morgan Cofer In This Chapter This chapter discusses the business case for Agility, presenting six benefits for teams and the enterprise. It also describes a financial model that shows why incremental development works. Takeaways Agility is not just about the team. There are product-management, project-management, and technical issues beyond the team’s control. Lean-Agile provides...