You are on page 1of 16

Paste Special (Transpose) Output

Credit Cards Issued 2008 2009 Credit Cards Issued January February March
January 84.7 59.2 2008 84.7 81.5 92.9
February 81.5 67.4 2009 59.2 67.4 72.5
March 92.9 72.5
April 85.2 74.4
May 82.6 76.9 Credit Cards Issued January February March
June 81.2 74.7 2008 84.7 81.5 92.9
July 31.2 72.1 2009 59.2 67.4 72.5
August 14.6 75.2
September 10.9 80.6
October 20.7 87.0
November 49.0 120.3
December 53.7 158.2
TOTAL 688.2 1,018.5

End
April May June July August September October November December TOTAL
85.2 82.6 81.2 31.2 14.6 10.9 20.7 49.0 53.7 688.2
74.4 76.9 74.7 72.1 75.2 80.6 87.0 120.3 158.2 1,018.5

April May June July August September October November December TOTAL
85.2 82.6 81.2 31.2 14.6 10.9 20.7 49 53.7 688.2
74.4 76.9 74.7 72.1 75.2 80.6 87 120.3 158.2 1018.5
Case 1 - Simple Array Formula Practice

Product Qty. Price Product


Apples 10 5.00 Apples
Kiwi 30 6.50 Kiwi
Lemons 20 7.00 Lemons
Mango 30 7.50 Mango
Peaches 40 8.00 Peaches
930
930.00 not to press at the last enter
we have to press cntl + shift + enter
Case 2 - Single Cell Array Practice

Product Feb Sales Mar Sales Product


Apples 10 20 Apples
Kiwi 30 30 Kiwi
Lemons 20 40 Lemons
Mango 30 35 Mango
Peaches 40 50 Peaches

Max Sales increase 20


Qty. Price
10 5.00
30 6.50
20 7.00
30 7.50
40 8.00
930

Feb Sales Mar Sales


10 20
30 30
20 40
30 35
40 50

20
Frequency
Date Close Returns
7/1/1997 4305.76
8/1/1997 3876.08 -9.98% 80
70
9/1/1997 3902.03 0.67% Min -23.89% 60
10/1/1997 3803.24 -2.53% Max 28.26% 50
40
11/3/1997 3560.29 -6.39% Range 52.15% 30
20
Number 10
of 0
12/1/1997 3658.98 2.77% Intervals 10 - - -
21.23 15.92 10.6
1/1/1998 3224.36 -11.88% Width 0.053145 % % %
2/2/1998 3622.22 12.34%
3/2/1998 3892.75 7.47% -23.89% -18.58% -21.23% 1 1
4/1/1998 4006.81 2.93% -18.58% -13.26% -15.92% 4 4
5/4/1998 3686.39 -8.00% -13.26% -7.95% -10.60% 20 20
6/1/1998 3250.69 -11.82% -7.95% -2.63% -5.29% 37 37
7/1/1998 3211.31 -1.21% -2.63% 2.68% 0.03% 74 74
8/3/1998 2933.85 -8.64% 2.68% 8.00% 5.34% 62 62
9/1/1998 3102.29 5.74% 8.00% 13.31% 10.65% 27 27
10/5/1998 2812.49 -9.34% 13.31% 18.63% 15.97% 5 5
11/2/1998 2810.66 -0.07% 18.63% 23.94% 21.28% 1 1
12/1/1998 3055.41 8.71% 23.94% 29.26% 26.60% 1 1
1/4/1999 3315.57 8.51%
2/1/1999 3233.86 -2.46% 232
3/1/1999 3739.96 15.65%
4/1/1999 3325.69 -11.08%
5/3/1999 3966.07 19.26%
6/1/1999 4140.73 4.40%
7/1/1999 4542.34 9.70%
8/2/1999 4898.21 7.83%
9/1/1999 4764.42 -2.73%
10/1/1999 4444.56 -6.71%
11/1/1999 4622.21 4.00%
12/1/1999 5005.82 8.30%
1/3/2000 5205.29 3.98%
2/1/2000 5447.47 4.65%
3/1/2000 5001.28 -8.19%
4/3/2000 4657.55 -6.87%
5/2/2000 4433.61 -4.81%
6/1/2000 4748.77 7.11%
7/3/2000 4279.86 -9.87%
8/1/2000 4477.31 4.61%
9/4/2000 4090.38 -8.64%
10/3/2000 3711.02 -9.27%
11/1/2000 3997.99 7.73%
12/1/2000 3972.12 -0.65%
1/2/2001 4326.72 8.93%
2/1/2001 4247.04 -1.84%
3/1/2001 3604.38 -15.13%
4/2/2001 3519.16 -2.36%
5/2/2001 3631.91 3.20%
6/1/2001 3456.78 -4.82%
7/2/2001 3329.28 -3.69%
8/1/2001 3244.95 -2.53%
9/3/2001 2811.6 -13.35%
10/1/2001 2989.35 6.32%
11/1/2001 3287.56 9.98%
12/3/2001 3262.33 -0.77%
1/2/2002 3311.03 1.49%
2/1/2002 3562.31 7.59%
3/1/2002 3469.35 -2.61%
4/1/2002 3338.16 -3.78%
5/2/2002 3125.73 -6.36%
6/3/2002 3244.7 3.81%
7/1/2002 2987.65 -7.92%
8/1/2002 3181.23 6.48%
9/2/2002 2991.36 -5.97%
10/1/2002 2949.32 -1.41%
11/1/2002 3228.82 9.48%
12/2/2002 3377.28 4.60%
1/2/2003 3250.38 -3.76%
2/3/2003 3283.66 1.02%
3/3/2003 3048.72 -7.15%
4/1/2003 2959.79 -2.92%
5/2/2003 3180.75 7.47%
6/2/2003 3607.13 13.41%
7/1/2003 3792.61 5.14%
8/1/2003 4244.73 11.92%
9/1/2003 4453.24 4.91%
10/1/2003 4906.87 10.19%
11/3/2003 5044.82 2.81%
12/1/2003 5838.96 15.74%
1/2/2004 5695.67 -2.45%
2/3/2004 5667.51 -0.49%
3/1/2004 5590.6 -1.36%
4/1/2004 5655.09 1.15%
5/3/2004 4759.62 -15.83%
6/1/2004 4795.46 0.75%
7/1/2004 5170.32 7.82%
8/2/2004 5192.08 0.42%
9/1/2004 5583.61 7.54%
10/1/2004 5672.27 1.59%
11/1/2004 6234.29 9.91%
12/1/2004 6602.69 5.91%
1/3/2005 6555.94 -0.71%
2/1/2005 6713.86 2.41%
3/1/2005 6492.82 -3.29%
4/1/2005 6154.44 -5.21%
5/2/2005 6715.11 9.11%
6/1/2005 7193.85 7.13%
7/1/2005 7635.42 6.14%
8/1/2005 7805.43 2.23%
9/1/2005 8634.48 10.62%
10/3/2005 7892.32 -8.60%
11/1/2005 8788.81 11.36%
12/1/2005 9397.93 6.93%
1/2/2006 9919.89 5.55%
2/1/2006 10370.24 4.54%
3/1/2006 11279.96 8.77%
4/3/2006 11851.93 5.07%
5/2/2006 10398.61 -12.26%
6/1/2006 10609.25 2.03%
7/3/2006 10743.88 1.27%
8/1/2006 11699.05 8.89%
9/1/2006 12454.42 6.46%
10/3/2006 12961.9 4.07%
11/1/2006 13696.31 5.67%
12/1/2006 13786.91 0.66%
1/2/2007 14090.92 2.21%
2/1/2007 12938.09 -8.18%
3/1/2007 13072.1 1.04%
4/2/2007 13872.37 6.12%
5/3/2007 14544.46 4.84%
6/1/2007 14650.51 0.73%
7/2/2007 15550.99 6.15%
8/1/2007 15318.6 -1.49%
9/3/2007 17291.1 12.88%
10/1/2007 19837.99 14.73%
11/1/2007 19363.19 -2.39%
12/3/2007 20286.99 4.77%
1/2/2008 17648.71 -13.00%
2/1/2008 17578.72 -0.40%
3/3/2008 15644.44 -11.00%
4/1/2008 17287.31 10.50%
5/2/2008 16415.57 -5.04%
6/2/2008 13461.6 -17.99%
7/1/2008 14355.75 6.64%
8/1/2008 14564.53 1.45%
9/1/2008 12860.43 -11.70%
10/1/2008 9788.06 -23.89%
11/3/2008 9092.72 -7.10%
12/1/2008 9647.31 6.10%
1/2/2009 9424.24 -2.31%
2/2/2009 8891.61 -5.65%
3/2/2009 9708.5 9.19%
4/1/2009 11403.25 17.46%
5/4/2009 14625.25 28.26%
6/1/2009 14493.84 -0.90%
7/1/2009 15670.31 8.12%
8/3/2009 15666.64 -0.02%
9/1/2009 17126.84 9.32%
10/1/2009 15896.28 -7.18%
11/3/2009 16926.22 6.48%
12/1/2009 17464.81 3.18%
1/4/2010 16357.96 -6.34%
2/1/2010 16429.55 0.44%
3/2/2010 17527.77 6.68%
4/1/2010 17558.71 0.18%
5/3/2010 16944.63 -3.50%
6/1/2010 17700.9 4.46%
7/1/2010 17868.29 0.95%
8/2/2010 17971.12 0.58%
9/1/2010 20069.12 11.67%
10/1/2010 20032.34 -0.18%
11/1/2010 19521.25 -2.55%
12/1/2010 20509.09 5.06%
1/3/2011 18327.76 -10.64%
2/1/2011 17823.4 -2.75%
3/1/2011 19445.22 9.10%
4/1/2011 19135.96 -1.59%
5/2/2011 18503.28 -3.31%
6/1/2011 18845.87 1.85%
7/1/2011 18197.2 -3.44%
8/1/2011 16676.75 -8.36%
9/2/2011 16453.76 -1.34%
10/3/2011 17705.01 7.60%
11/1/2011 16123.46 -8.93%
12/1/2011 15454.92 -4.15%
1/2/2012 17193.55 11.25%
2/1/2012 17752.68 3.25%
3/1/2012 17404.2 -1.96%
4/2/2012 17318.81 -0.49%
5/2/2012 16218.53 -6.35%
6/1/2012 17429.98 7.47%
7/2/2012 17236.18 -1.11%
8/1/2012 17380.75 0.84%
9/3/2012 18762.74 7.95%
10/1/2012 18505.38 -1.37%
11/1/2012 19339.9 4.51%
12/3/2012 19426.71 0.45%
1/2/2013 19894.98 2.41%
2/1/2013 18861.54 -5.19%
3/1/2013 18835.77 -0.14%
4/1/2013 19504.18 3.55%
5/2/2013 19760.3 1.31%
6/3/2013 19395.81 -1.84%
7/1/2013 19345.7 -0.26%
8/1/2013 18619.72 -3.75%
9/2/2013 19379.77 4.08%
10/1/2013 21164.52 9.21%
11/1/2013 20791.93 -1.76%
12/2/2013 21170.68 1.82%
1/1/2014 20513.85 -3.10%
2/3/2014 21120.12 2.96%
3/3/2014 22386.27 5.99%
4/1/2014 22417.8 0.14%
5/2/2014 24217.34 8.03%
6/2/2014 25413.78 4.94%
7/1/2014 25894.97 1.89%
8/1/2014 26638.11 2.87%
9/1/2014 26630.51 -0.03%
10/1/2014 27865.83 4.64%
11/3/2014 28693.99 2.97%
12/1/2014 27499.42 -4.16%
1/2/2015 29182.95 6.12%
2/2/2015 29220.12 0.13%
3/2/2015 27957.49 -4.32%
4/1/2015 27011.31 -3.38%
5/1/2015 27828.44 3.03%
6/1/2015 27780.83 -0.17%
7/1/2015 28114.56 1.20%
8/3/2015 26283.09 -6.51%
9/1/2015 26154.83 -0.49%
10/1/2015 26656.83 1.92%
11/2/2015 26145.67 -1.92%
12/1/2015 26117.54 -0.11%
1/4/2016 24870.69 -4.77%
2/1/2016 23002 -7.51%
3/1/2016 25341.86 10.17%
4/1/2016 25606.62 1.04%
5/2/2016 26667.96 4.14%
6/1/2016 26999.72 1.24%
7/1/2016 28051.86 3.90%
8/1/2016 28452.17 1.43%
9/1/2016 27865.96 -2.06%
10/3/2016 27941.51 0.27%
11/1/2016 25860.17 -7.45%
80
70
60
50
40
30
20
10
0
- - - -5.29% 0.03% 5.34% 10.65 15.97 21.28 26.60
21.23 15.92 10.60 % % % %
% % %

80
70
60
50
40
30
20
10
0
1 2 3 4 5 6 7 8 9 10
Matrix Multiplication
Multiplying a Row by a Column Multiplying a Matrix by a Matrix
(Based on Example 3 in the text)
To find the product AB of a row A and a column B in Excel:
Consider the matrices A (2x4) and B (4x3) given below.
A= 0.1 -2.23 2.45
A=
-11.2 2 0 -1
B= 0.1 1 -1 2
9.3
1 1
AB = 21.442 B= 1 0
0 5
1 Highlight a cell where you want the product -2 8
2 Type "=MMULT(" and highlight the whole of A,
type ",", then highlight the whole of B, The product AB will be 2x3 matrix (as many rows as A, and
type ")". So the complete formula should read: as many columns as B). Thus, select a 2x3 block for the
=MMULT(B11:D11,B13:B15) product, and then proceed as above:
3 Hit Cntrl Shift Enter.
(Braces will automatically appear in the formula 1 Highlight the whole slected block.
which means this is an array formula.) 2 Type "=MMULT(" and highlight the whole of A,
type ",", then highlight the whole of B,
tomate this: type ")". So the complete formula should read:
=MMULT(A37:D38,B40:D43)
3 Hit Cntrl Shift Enter.
(Braces will automatically appear in the formula
which means this is an array formula.)
4 To erase it, select the whole block, press Delete,
and then hit Cntrl Shift Enter.

AB = -4 21
4 -5
tomate this:
Example for you to try

4 2.1 0 2
4x3) given below. A= 3 0 1 1
-2.3 -1 0 0

3
-2 0 5 0
B= 1 6 0
-8 1.1 -10 1
0 0 1 1
2
-1
1 0 0
many rows as A, and C= 0 1 0
2x3 block for the 0 0 1

ole slected block. 2.1 34.6 2


T(" and highlight the whole of A, A*B = 1.1 6 2
hlight the whole of B, -1 -17.5 0
omplete formula should read:
:D38,B40:D43)
4 2.1 0 2
matically appear in the formula C*A = 3 0 1 1
s is an array formula.) -2.3 -1 0 0
t the whole block, press Delete,
rl Shift Enter.

-21
-2
OFFSET 0A
1
2
3B 10 20 30
0 1 2 3

Offset()

Case 1:

Parti. Year VLookup() HLookup()


Sales 2008 1450 1450

Particulars 2007 2008 2009 2010 2011


Sales 1400 1450 1500 2100 2250
Cost 1050 1750 1100 1200 1700
Profit 350 -300 400 900 550

Case 2:

Parti. Year (till) OFFSET()


Sales 2008 1400 1450

Row Col Height Width OFFSET()


1 1 1 2 2850

Particulars 2007 2008 2009 2010 2011


Sales 1400 1450 1500 2100 2250
Cost 1050 1750 1100 1200 1700
Profit 350 -300 400 900 550

Case 3:

Months (till) Year OFFSET()


Feb 2008 1450
1750
Row Col Height Width OFFSET()
1 2 2 1 3200

Months 2007 2008 2009 2010 2011


Jan 1400 1450 1500 2100 2250
Feb 1050 1750 1100 1200 1700
Mar 1225 1600 1300 1650 1975
Total 3675 4800 3900 4950 5925

End

You might also like