Using countif on mercks weekly stock returns merck

Info icon This preview shows pages 33–42. Sign up to view the full content.

View Full Document Right Arrow Icon
USING COUNTIF ON MERCK'S WEEKLY STOCK RETURNS Merck price A B C D E 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
Image of page 33

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
9-Oct-06 42.84 3.15% 16-Oct-06 45.26 5.50% 23-Oct-06 45.7 0.97% 30-Oct-06 44.72 -2.17% 6-Nov-06 42.76 -4.48% 13-Nov-06 44.68 4.39% 20-Nov-06 43.81 -1.97% 27-Nov-06 44.68 1.97% 4-Dec-06 43.93 -1.69% 11-Dec-06 44 0.16% 18-Dec-06 42.83 -2.70% 26-Dec-06 43.6 1.78% 3-Jan-07 44.3 1.59% A B C D E 49 50 51 52 53 54 55 56 57 58 59 60 61
Image of page 34
Data table: number of returns above cutoff Cutoff 2 #MACRO? 0% 30 1% 21 2% 13 3% 8 4% 6 5% 2 6% 1 7% 1 8% 1 9% 1 10% 0 F G H 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
Image of page 35

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
F G H 49 50 51 52 53 54 55 56 57 58 59 60 61
Image of page 36
x 22 y -15 Number 25 Is number <= x? FALSE #MACRO? Is number > y? TRUE #MACRO? Multiplying 0 #MACRO? BASIC BOOLEAN FUNCTIONS A B C 1 2 3 4 5 6 7 8 9
Image of page 37

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
x 22 y -15 Number 20 Is number <= x? TRUE #MACRO? Is number > y? TRUE #MACRO? Multiplying 1 #MACRO? BASIC BOOLEAN FUNCTIONS A B C 1 2 3 4 5 6 7 8 9
Image of page 38
USING BOOLEAN FUNCTIONS Date Return 7-Jan-05 31.2 How many data points? 24 1-Feb-05 31.65 1.43% #MACRO? Maximal return 8.02% 1-Mar-05 33.06 4.36% Minimal return -8.02% 1-Apr-05 31.03 -6.34% 2-May-05 33.4 7.36% 1-Jun-05 33.78 1.13% Upper bound 5% 1-Jul-05 33.91 0.38% Lower bound -2% 1-Aug-05 31.3 -8.01% 1-Sep-05 31.25 -0.16% How many < upper bound? 16 3-Oct-05 29.58 -5.49% How many > lower bound? 19 1-Nov-05 32.05 8.02% 1-Dec-05 33.27 3.74% 11 3-Jan-06 33.11 -0.48% 1-Feb-06 33.98 2.59% 1.36% 1-Mar-06 34.14 0.47% 3-Apr-06 36.36 6.30% 1-May-06 35.99 -1.02% 1-Jun-06 38 5.43% 3-Jul-06 35.07 -8.02% 1-Aug-06 37.61 6.99% 1-Sep-06 38.59 2.57% 2-Oct-06 41.71 7.77% 1-Nov-06 45.09 7.79% 1-Dec-06 47.72 5.67% 3-Jan-07 45.1 -5.65% Marriott stock price How many between upper and lower bounds? Average of returns between the bounds
Image of page 39

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
S #MACRO? #MACRO? #MACRO? #MACRO? #MACRO? #MACRO? #MACRO?
Image of page 40
USING OFFSET Starting corner Rows down 3 Columns over 2 Range to be summed Number of rows 4 Number of columns 5 Sum 811 ### Check 811 ### 89 34 72 42 41 89 75 41 33 6 49 7 62 50 38 17 71 69 42 68 39 75 32 77 1 69 8 79 40 8 67 46 70 12 44 48 88 27 38 51 85 0 23 35 83 30 17 52 30 50 16 28 73 4 55 68 35 56 31 24 15 47 89 88 99 31 55 60 45 24 28 3 93 72 7 75 90 81 52 71 62 56 55 19 73 81 33 76 87 27 80 38 65 61 38 68 10 59 27 81 6 83 51 1 70 88 44 35 70 35 0 82 98 45 17 45 89 19 58 42 83 75 21 13 80 9 18 64 32 23 4 86 88 52 52 69 76 61 72 28 83 1 32 38 64 87 32 67 50 73 19 83 54 55 57 64 80 29 17 92 12 95 66 59 48 78 87 23 A B C D E F G H 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
Image of page 41

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Starting corner Rows down -5 Columns over 1 Range to be summed Number of rows 4 Number of columns 5 Sum 899 ### Check 899 ### 89 34 72 42 41 89 75 41 33 6 49 7 62 50 38 17 71 69 42 68 39 75 32 77 1 69 8 79 40 8 67 46 70 12 44 48 88 27 38 51 85 0 23 35 83 30 17 52 30 50 16 28 73 4 55 68 35 56 31 24 15 47 89 88 99 31 55 60 45 24 28 3 93 72 7 75 90 81 52 71 62 56 55 19 73 81 33 76 87 27 80 38 65 61 38 68 10 59 27 81 6 83 51 1 70 88 44 35 70 35 0 82 98 45 17 45 89 19 58 42 83 75 21 13 80 9 18 64 32 23 4 86 88 52 52 69 76 61 72 28 83 1 32 38 64 87 32 67 50 73 19 83 54 55 57 64 80 29 17 92 12 95 66 59 48 78 87 23 USING OFFSET with negative value A B C D E F G H 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
Image of page 42
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern