Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

USING VBA EXCEL AND OPTION EXPLICIT AND IPO PLEASE :) Exercise: Puffin length Download a workbook with data on the length of puffins. It looks

USING VBA EXCEL AND OPTION EXPLICIT AND IPO PLEASE :)

Exercise: Puffin length

image text in transcribedDownload a workbook with data on the length of puffins. It looks like this:

image text in transcribed

(Total obs means Total observations.)

Most puffins are between 24 cm and 34 cm in length. Puffins smaller than 24 cm or larger than 34 cm are outliers, possibly mutant puffins with superpowers. For example, the infamous super-villain The Dart was a short puffin. She sank 18 ships in the Atlantic before being taken out by Seal Team 3.

image text in transcribed

Seal Team 3

Write a VBA program that:

Marks outliers in yellow.

Computes statistics.

Heres part of the output:

image text in transcribed

Round the average to one decimal place.

Write your program so that it adjusts if the number of rows changes. So your code should work if there are 28 observations, 59 observations, or 1,322 observations.

Assume that all of the data is valid, that is, all lengths are numeric, and greater than zero.

Normal coding standards apply.

Upload your worksheet. If you want, include your name in the file name, e.g., lenny-kravitz-puffin-length.xlsm.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Intranet And Web Databases For Dummies

Authors: Paul Litwin

1st Edition

0764502212, 9780764502217

Students also viewed these Databases questions

Question

find all matrices A (a) A = 13 (b) A + A = 213

Answered: 1 week ago