Hershey co (HSY)
CashFlow / Yearly
Dec'19Dec'18Dec'17Dec'16Dec'15Dec'14Dec'13Dec'12Dec'11Dec'10Dec'09Dec'08Dec'07
Operating Activities
Net income including noncontrolling interest

1,146,752

1,171,051

756,537

720,044

512,951

846,912

820,470

660,931

628,962

509,799

435,994

311,405

214,154

Adjustments to reconcile net income to net cash provided by operating activities:
Depreciation and amortization

291,544

295,144

261,853

301,837

244,928

211,532

201,033

210,037

215,763

197,116

182,411

249,491

310,925

Stock-based compensation expense

51,899

49,286

51,061

54,785

51,533

54,068

53,967

50,482

43,468

49,468

34,927

23,583

18,987

Excess tax benefits from stock-based compensation

-

-

-

-

-

53,497

48,396

33,876

-13,997

-1,385

4,455

-1,387

-9,461

Deferred income taxes

-15,072

36,255

18,582

-38,097

-38,537

18,796

7,457

13,785

33,611

-18,654

-40,578

-17,125

-124,276

Impairment of long-lived assets (see Note 6)

112,485

57,729

208,712

4,204

280,802

15,900

0

38,144

34,660

62,104

60,823

119,117

267,653

Equity Method Investment, Other than Temporary Impairment

50,457

50,329

66,209

43,482

39,489

0

0

-

-

-

-

-

-

Loss on early extinguishment of debt (see Note 4)

-

-

-

-

-28,326

0

0

-

-

-

-

-

-

Business Combination, Bargain Purchase, Gain Recognized, Amount

-

-

-

26,650

0

0

-

-

-

-

-

-

-

Other

57,426

37,278

77,291

51,375

28,467

-11,027

-

-

-

-

-

-

-

Gain on sale of trademark licensing rights, net of tax

-

-

-

-

-

-

-

-

-11,072

0

0

-

-

Changes in assets and liabilities, net of business acquisitions and divestitures:
Accounts receivable—trade, net

-40,252

-8,585

6,881

-21,096

24,440

67,464

16,529

50,470

-9,438

20,329

-46,584

31,675

40,467

Inventories

21,194

12,746

71,404

-13,965

-52,049

88,497

26,279

-26,598

-115,331

-13,910

-74,000

7,681

45,348

Prepaid expenses and other current assets

-13,593

39,899

-18,214

42,955

-118,007

7,245

-

-

-

-

-

-

-

Accounts payable and accrued liabilities

41,101

-100,252

-52,960

-63,467

9,574

-59,102

102,411

69,645

7,860

90,434

37,228

26,435

62,204

Accrued income taxes

-9,544

75,568

-71,027

-937

36,848

-

-

-

-

-

-

-

-

Contributions to pension and other benefit plans

20,134

25,864

56,433

41,697

53,273

53,110

57,213

44,208

-31,671

-27,723

54,457

-32,759

-15,836

Other assets and liabilities

-24,308

2,471

-49,761

-16,443

30,413

-37,111

-154,478

-153,759

-194,948

33,845

-293,272

-198,555

-31,329

Net cash provided by operating activities

1,763,873

1,599,993

1,249,515

1,013,428

1,256,311

844,377

1,191,399

1,094,827

587,867

901,423

1,065,749

519,561

778,836

Investing Activities
Capital additions (including software)

318,192

328,601

257,675

269,476

356,810

370,789

323,551

258,727

323,961

179,538

126,324

262,643

189,698

Capitalized software additions

-

-

-

-

-

-

27,360

19,239

23,606

21,949

19,146

20,336

14,194

Proceeds from sales of property, plant and equipment and other long-lived assets

28,131

49,759

7,609

3,651

1,205

1,612

15,331

453

312

2,201

10,364

82,815

0

Proceeds from Divestiture of Businesses

0

167,048

0

0

32,408

0

0

-

-

-

-

-

-

Proceeds from sale of trademark licensing rights

-

-

-

-

-

-

-

-

20,000

0

0

-

-

Loan to affiliate

-

-

-

-

-

-

16,000

23,000

7,000

0

-

-

-

Equity investments in tax credit qualifying partnerships

80,230

52,641

78,598

44,255

30,720

0

0

-

-

-

-

-

-

Business acquisitions, net of cash and cash equivalents acquired

402,160

1,338,459

0

285,374

218,654

396,265

0

172,856

5,750

0

15,220

0

100,461

Other investing activities

8,029

0

0

-

-

-

-

-

-

-

-

-

-

Sale of short-term investments

-

-

-

-

-95,316

97,131

0

-

-

-

-

-

-

Payments to Acquire Short-term Investments

-

-

-

-

-

-

-

0

-

-

-

-

-

Proceeds from divestitures

-

-

-

-

-

-

-

-

-

-

-

1,960

0

Net cash used in investing activities

-780,480

-1,502,894

-328,664

-595,454

-477,255

-862,573

-351,580

-473,369

-340,005

-199,286

-150,326

-198,204

-304,353

Financing Activities
Net increase (decrease) in short-term debt

-1,168,205

645,805

-81,426

275,607

10,720

117,515

54,351

77,698

10,834

1,156

-458,047

-371,393

195,055

Long-term borrowings, net of debt issuance costs

989,618

1,199,845

954

792,953

599,031

3,051

250,595

4,025

249,126

348,208

0

247,845

0

Repayment of long-term debt and finance leases

6,151

910,844

0

500,000

355,446

1,442

250,761

99,381

256,189

71,548

8,252

-4,977

-188,891

Repayment of tax receivable obligation

0

72,000

0

0

-

-

-

-

-

-

-

-

-

Payment of SGM liability (see Note 2)

-

-

-

35,762

0

0

-

-

-

-

-

-

-

Cash dividends paid

610,312

562,521

526,272

499,475

476,132

440,414

393,801

341,206

304,083

283,434

263,403

262,949

252,263

Payments to noncontrolling interests

-

-

-

-

-

-

-

15,791

0

0

7,322

0

0

Contributions from noncontrolling interest

-

-

-

-

-

-

2,940

2,940

0

10,199

-

-

-

Payment of contingent consideration

-

-

-

-

-

-

0

-

-

-

-

-

-

Purchase of noncontrolling interest

-

-

-

-

-

-

0

-

-

-

-

-

-

Repurchase of common stock

527,211

247,500

300,312

592,550

582,623

576,755

305,564

510,630

384,515

169,099

9,314

60,361

256,285

Exercise of stock options

240,806

63,323

63,288

94,831

55,703

122,306

147,255

261,597

184,411

92,033

28,318

36,996

50,497

Excess tax benefits from stock-based compensation

-

-

-

-

-

53,497

48,396

33,876

13,997

1,385

4,455

1,387

9,461

Other

-

-

-

-

-48,270

2,940

-

-

47,601

0

0

-

-

Net cash provided by (used in) financing activities

-1,081,455

116,108

-843,768

-464,396

-797,017

-719,302

-446,589

-586,872

-438,818

-71,100

-698,921

-413,452

-442,426

Effect of exchange rate changes on cash and cash equivalents

3,326

-5,388

6,129

-3,140

-10,364

-6,156

-2,994

-

-

-

-

-

-

Decrease (increase) in cash and cash equivalents

-94,736

207,819

83,212

-49,562

-28,325

-743,654

390,236

34,586

-190,956

631,037

216,502

-92,095

32,057

Supplemental Disclosure
Interest paid

139,504

132,486

101,874

90,951

88,448

87,801

92,551

100,269

97,892

97,932

91,623

97,364

126,450

Income taxes paid

238,067

118,842

351,832

425,539

368,926

384,318

373,902

327,230

292,315

350,948

252,230

197,661

253,977