(619164663) Practical-4

5
Practical-4 Objective: - The details of various movies regarding the budget and revenues are given below categories the movies in three categories 1. Hit if profit exceeds 50% of the budget, 2. Ok : if profit exceeds 25% of the budget, 3. Flop if profit is below 25% of the budget. Also rank the movies on the basis of profit over budget. Software used:- MS-excel and MS-word. List of movies used:- S.No. Movie Budget World Gross 1 Spider-Man 3 258000000 887436184 2 King-kong 207000000 553080025 3 Superman-Returns 204000000 391081192 4 Spider-Man 2 200000000 784024485 5 Titanic 200000000 1835400000 6 Chronicles of Narnia 180000000 748806957 7 Wild Wild West 175000000 217700000 8 Evan Almighty 175000000 120698890

description

Ranking of movies

Transcript of (619164663) Practical-4

Page 1: (619164663) Practical-4

Practical-4

Objective: - The details of various movies regarding the budget and revenues are

given below categories the movies in three categories

1. Hit if profit exceeds 50% of the budget,

2. Ok : if profit exceeds 25% of the budget,

3. Flop if profit is below 25% of the budget. Also rank the movies on the basis of

profit over budget.

Software used:- MS-excel and MS-word.

List of movies used:-

S.No.

Movie

Budget World

Gross

1

Spider-Man 3

258000000

887436184

2

King-kong

207000000

553080025

3

Superman-Returns

204000000

391081192

4

Spider-Man 2

200000000

784024485

5

Titanic

200000000

1835400000

6

Chronicles of Narnia

180000000

748806957

7

Wild Wild West

175000000

217700000

8

Evan Almighty

175000000

120698890

Page 2: (619164663) Practical-4

9

Water world

175000000

264246220

10

Terminator :3 Rise of

machines

170000000

433058296

11

Polar express, The

170000000

296596043

12

Van Helsing

170000000

300150546

13

shrek the third

160000000

733012359

14

Poseidon

160000000

181674817

15

Alexander

155000000

167297191

16

Pearl harbour

151500000

450500000

17

Harry Potter and the

Goblet of Fire

150000000

892213036

18

Harry Potter and the

order of The Phoenix

150000000

822828538

19

Mission impossible 3

150000000

397501348

20

Troy

150000000

497298577

Page 3: (619164663) Practical-4

Functions used:- To achieve the objective if and rank functions are used.

RANK

Returns the rank of a number in a list of numbers. The rank of a number is its size

relative to other values in a list. (If you were to sort the list, the rank of the number

would be its position.)

Syntax

RANK(number,ref,order)

Number is the number whose rank you want to find.

Ref is an array of, or a reference to, a list of numbers. Nonnumeric values in ref

are ignored.

Order is a number specifying how to rank number.

Formula used:-

1. To see if movie is hit, Ok or flop.

=IF(E2>(0.5*C2),"HIT",IF(E2>(0.25*C2),"OK",IF(E2<0.25*C2,"FLOP")))

Where,

E2 is profit from the movie,

C2 is budget of the movie

2. To rank the movies.

=RANK(F2,$F$2:$F$21)

Where,

F2 is profit percentage of the movies

And F2 to F21 are array of profit percentage of movies among which ranking

is to be done.

Page 4: (619164663) Practical-4

Profit Profit

Percentage

Kind of movie

Rank

=D2-C2

=((D2-C2)/C2)

=IF(E2>(0.5*C2),"HIT",IF(E2>(0.25*C2),"OK",IF(E2<0.25*C2,"FLOP")))

=RANK(F2,$F$2:$F$21)

=D3-C3

=((D3-C3)/C3)

=IF(E3>(0.5*C3),"HIT",IF(E3>(0.25*C3),"OK",IF(E3<0.25*C3,"FLOP")))

=RANK(F3,$F$2:$F$21)

=D4-C4

=((D4-C4)/C4)

=IF(E4>(0.5*C4),"HIT",IF(E4>(0.25*C4),"OK",IF(E4<0.25*C4,"FLOP")))

=RANK(F4,$F$2:$F$21)

=D5-C5

=((D5-C5)/C5)

=IF(E5>(0.5*C5),"HIT",IF(E5>(0.25*C5),"OK",IF(E5<0.25*C5,"FLOP")))

=RANK(F5,$F$2:$F$21)

=D6-C6

=((D6-C6)/C6)

=IF(E6>(0.5*C6),"HIT",IF(E6>(0.25*C6),"OK",IF(E6<0.25*C6,"FLOP")))

=RANK(F6,$F$2:$F$21)

=D7-C7

=((D7-C7)/C7)

=IF(E7>(0.5*C7),"HIT",IF(E7>(0.25*C7),"OK",IF(E7<0.25*C7,"FLOP")))

=RANK(F7,$F$2:$F$21)

=D8-C8

=((D8-C8)/C8)

=IF(E8>(0.5*C8),"HIT",IF(E8>(0.25*C8),"OK",IF(E8<0.25*C8,"FLOP")))

=RANK(F8,$F$2:$F$21)

=D9-C9

=((D9-C9)/C9)

=IF(E9>(0.5*C9),"HIT",IF(E9>(0.25*C9),"OK",IF(E9<0.25*C9,"FLOP")))

=RANK(F9,$F$2:$F$21)

=D10-C10

=((D10-C10)/C1

=IF(E10>(0.5*C10),"HIT",IF(E10>(0.25*C10),"OK",IF(E10<0.25*C10,"FLOP

=RANK(F10,$F$2:$F$21)

=D11-C11

=((D11-C11)/C1

=IF(E11>(0.5*C11),"HIT",IF(E11>(0.25*C11),"OK",IF(E11<0.25*C11,"FLOP

=RANK(F11,$F$2:$F$21)

=D12-C12

=((D12-C12)/C1

=IF(E12>(0.5*C12),"HIT",IF(E12>(0.25*C12),"OK",IF(E12<0.25*C12,"FLOP

=RANK(F12,$F$2:$F$21)

=D13-C13

=((D13-C13)/C1

=IF(E13>(0.5*C13),"HIT",IF(E13>(0.25*C13),"OK",IF(E13<0.25*C13,"FLOP

=RANK(F13,$F$2:$F$21)

=D14-C14

=((D14-C14)/C1

=IF(E14>(0.5*C14),"HIT",IF(E14>(0.25*C14),"OK",IF(E14<0.25*C14,"FLOP

=RANK(F14,$F$2:$F$21)

=D15-C15

=((D15-C15)/C1

=IF(E15>(0.5*C15),"HIT",IF(E15>(0.25*C15),"OK",IF(E15<0.25*C15,"FLOP

=RANK(F15,$F$2:$F$21)

=D16-C16

=((D16-C16)/C1

=IF(E16>(0.5*C16),"HIT",IF(E16>(0.25*C16),"OK",IF(E16<0.25*C16,"FLOP

=RANK(F16,$F$2:$F$21)

=D17-C17

=((D17-C17)/C1

=IF(E17>(0.5*C17),"HIT",IF(E17>(0.25*C17),"OK",IF(E17<0.25*C17,"FLOP

=RANK(F17,$F$2:$F$21)

=D18-C18

=((D18-C18)/C1

=IF(E18>(0.5*C18),"HIT",IF(E18>(0.25*C18),"OK",IF(E18<0.25*C18,"FLOP

=RANK(F18,$F$2:$F$21)

=D19-C19

=((D19-C19)/C1

=IF(E19>(0.5*C19),"HIT",IF(E19>(0.25*C19),"OK",IF(E19<0.25*C19,"FLOP

=RANK(F19,$F$2:$F$21)

=D20-C20

=((D20-C20)/C2

=IF(E20>(0.5*C20),"HIT",IF(E20>(0.25*C20),"OK",IF(E20<0.25*C20,"FLOP

=RANK(F20,$F$2:$F$21)

=D21-C21

=((D21-C21)/C2

=IF(E21>(0.5*C21),"HIT",IF(E21>(0.25*C21),"OK",IF(E21<0.25*C21,"FLOP

=RANK(F21,$F$2:$F$21)

Page 5: (619164663) Practical-4

Output screens:-

S.No.

Movie

Budget

World Gross

Profit Profit

Percentage

Kind of

movie

Rank

1

Spider-Man 3

258000000

887436184

629436184

2.439675132

HIT

7

2

King-kong

207000000

553080025

346080025

1.671884179

HIT

10

3

Superman-Returns

204000000

391081192

187081192

0.917064667

HIT

13

4

Spider-Man 2

200000000

784024485

584024485

2.920122425

HIT

6

5

Titanic

200000000

1835400000

1635400000

8.177

HIT

1

6

Chronicles of Narnia

180000000

748806957

568806957

3.16003865

HIT

5

7

Wild Wild West

175000000

217700000

42700000

0.244

FLOP

17

8

Evan Almighty

175000000

120698890

-54301110

-0.310292057

FLOP

20

9

Water world

175000000

264246220

89246220

0.5099784

HIT

16

10

Terminator :3 Rise of

machines

170000000

433058296

263058296

1.547401741

HIT

12

11

Polar express, The

170000000

296596043

126596043

0.744682606

HIT

15

12

Van Helsing

170000000

300150546

130150546

0.765591447

HIT

14

13

shrek the third

160000000

733012359

573012359

3.581327244

HIT

4

14

Poseidon

160000000

181674817

21674817

0.135467606

FLOP

18

15

Alexander

155000000

167297191

12297191

0.079336716

FLOP

19

16

Pearl harbour

151500000

450500000

299000000

1.97359736

HIT

9

17

Harry Potter and the

Goblet of Fire

150000000

892213036

742213036

4.948086907

HIT

2

18

Harry Potter and the

order of The Phoenix

150000000

822828538

672828538

4.485523587

HIT

3

19

Mission impossible 3

150000000

397501348

247501348

1.650008987

HIT

11

20

Troy

150000000

497298577

347298577

2.315323847

HIT

8