cash and cash equivalents cash equivalents include highly-liquid investments with a maturity of three months or less when purchased . accounts receivable and allowance for doubtful accounts accounts receivable are carried at the invoiced amounts , less an allowance for doubtful accounts , and generally do not bear interest . the company estimates the balance of allowance for doubtful accounts by analyzing accounts receivable balances by age and applying historical write-off and collection trend rates . the company 2019s estimates include separately providing for customer receivables based on specific circumstances and credit conditions , and when it is deemed probable that the balance is uncollectible . account balances are charged off against the allowance when it is determined the receivable will not be recovered . the company 2019s allowance for doubtful accounts balance also includes an allowance for the expected return of products shipped and credits related to pricing or quantities shipped of $ 14 million , $ 15 million and $ 14 million as of december 31 , 2016 , 2015 , and 2014 , respectively . returns and credit activity is recorded directly to sales as a reduction . the following table summarizes the activity in the allowance for doubtful accounts: .

Table:
( millions ) | 2016 | 2015 | 2014
beginning balance | $ 75 | $ 77 | $ 81
bad debt expense | 20 | 26 | 23
write-offs | -25 ( 25 ) | -22 ( 22 ) | -20 ( 20 )
other ( a ) | -2 ( 2 ) | -6 ( 6 ) | -7 ( 7 )
ending balance | $ 68 | $ 75 | $ 77
( a ) other amounts are primarily the effects of changes in currency translations and the impact of allowance for returns and credits .
inventory valuations inventories are valued at the lower of cost or market .
certain u.s .
inventory costs are determined on a last-in , first-out ( 201clifo 201d ) basis .
lifo inventories represented 40% ( 40 % ) and 39% ( 39 % ) of consolidated inventories as of december 31 , 2016 and 2015 , respectively .
lifo inventories include certain legacy nalco u.s .
inventory acquired at fair value as part of the nalco merger .
all other inventory costs are determined using either the average cost or first-in , first-out ( 201cfifo 201d ) methods .
inventory values at fifo , as shown in note 5 , approximate replacement cost .
during 2015 , the company improved and standardized estimates related to its inventory reserves and product costing , resulting in a net pre-tax charge of approximately $ 6 million .
separately , the actions resulted in a charge of $ 20.6 million related to inventory reserve calculations , partially offset by a gain of $ 14.5 million related to the capitalization of certain cost components into inventory .
during 2016 , the company took additional actions to improve and standardize estimates related to the capitalization of certain cost components into inventory , which resulted in a gain of $ 6.2 million .
these items are reflected within special ( gains ) and charges , as discussed in note 3 .
property , plant and equipment property , plant and equipment assets are stated at cost .
merchandising and customer equipment consists principally of various dispensing systems for the company 2019s cleaning and sanitizing products , dishwashing machines and process control and monitoring equipment .
certain dispensing systems capitalized by the company are accounted for on a mass asset basis , whereby equipment is capitalized and depreciated as a group and written off when fully depreciated .
the company capitalizes both internal and external costs of development or purchase of computer software for internal use .
costs incurred for data conversion , training and maintenance associated with capitalized software are expensed as incurred .
expenditures for major renewals and improvements , which significantly extend the useful lives of existing plant and equipment , are capitalized and depreciated .
expenditures for repairs and maintenance are charged to expense as incurred .
upon retirement or disposition of plant and equipment , the cost and related accumulated depreciation are removed from the accounts and any resulting gain or loss is recognized in income .
depreciation is charged to operations using the straight-line method over the assets 2019 estimated useful lives ranging from 5 to 40 years for buildings and leasehold improvements , 3 to 20 years for machinery and equipment , 3 to 15 years for merchandising and customer equipment and 3 to 7 years for capitalized software .
the straight-line method of depreciation reflects an appropriate allocation of the cost of the assets to earnings in proportion to the amount of economic benefits obtained by the company in each reporting period .
depreciation expense was $ 561 million , $ 560 million and $ 558 million for 2016 , 2015 and 2014 , respectively. .

Question: in millions , what was the average ending balance in allowance for doubtful accounts?
Answer: 73.3
Calculation: table_average(ending balance, none)