Compute the missing values

The following information was extracted from annual reports of 3M (dollars in millions).

2008

2007

2006

Balance inventory

?

?

$2,162

Purchase

13,540

?

12,152

Goods available for sale

?

?

14,314

Ending inventory

?

2,852

?

Cost of goods sold

$13,379

$12,735

$11,713

Compute the missing information

Compute the missing information.