For online purchases, the location of the buyer and the location of the business (seller) determine if state sales tax must be collected at the time of the sale. The rule for collecting sales tax is that if the business has a physical presence in a state, they must collect applicable sales taxes from online customers who reside in that state. Breckenridge Fabrics sells fabric online and has distribution centers in California, Georgia, Illinois, Kansas, and New Jersey. The file salestax1 contains sales data on 279 purchases. For each purchase the following are provided: Order Number, Buyer State, Supplier State (state of the distribution center that supplied the goods) and the Sale Amount (in dollars). Also, in the file salestax is a state tax table that gives the applicable sales tax rate for each of the 50 states and the District of Columbia. (a) For each of the 279 purchases, use the XLOOKUP and IF functions to determine if sales tax must be collected and if so, how much. Round the sales tax due to two decimal places using the ROUND function. What is the total amount (in dollars) of state sales taxes collected from these 279 purchases? $ (b) What proportion of these purchases had to pay sales tax? (Round your answer to four decimal places.) (c) What is the total amount (in dollars) of these purchases (including any sales tax)? Use the rounded sales tax values calculated in part (a) to find the total.
For online purchases, the location of the buyer and the location of the business (seller) determine if state sales tax must be collected at the time of the sale. The rule for collecting sales tax is that if the business has a physical presence in a state, they must collect applicable sales taxes from online customers who reside in that state. Breckenridge Fabrics sells fabric online and has distribution centers in California, Georgia, Illinois, Kansas, and New Jersey. The file salestax1 contains sales data on 279 purchases. For each purchase the following are provided: Order Number, Buyer State, Supplier State (state of the distribution center that supplied the goods) and the Sale Amount (in dollars). Also, in the file salestax is a state tax table that gives the applicable sales tax rate for each of the 50 states and the District of Columbia. (a) For each of the 279 purchases, use the XLOOKUP and IF functions to determine if sales tax must be collected and if so, how much. Round the sales tax due to two decimal places using the ROUND function. What is the total amount (in dollars) of state sales taxes collected from these 279 purchases? $ (b) What proportion of these purchases had to pay sales tax? (Round your answer to four decimal places.) (c) What is the total amount (in dollars) of these purchases (including any sales tax)? Use the rounded sales tax values calculated in part (a) to find the total.
MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
Related questions
Question
None
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps
Recommended textbooks for you
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman