XML 48 R9.htm IDEA: XBRL DOCUMENT v3.22.0.1
Consolidated Statements of Cash Flows - USD ($)
$ in Millions
12 Months Ended
Jan. 31, 2022
Jan. 31, 2021
Jan. 31, 2020
Operating activities:      
Net income $ 1,444 $ 4,072 $ 126
Adjustments to reconcile net income to net cash provided by operating activities:      
Depreciation and amortization 3,298 2,846 2,135
Amortization of costs capitalized to obtain revenue contracts, net 1,348 1,058 876
Stock-based expense 2,779 2,190 1,785
Loss on settlement of Salesforce.org reseller agreement [1],[2] 0 0 166
Gains on strategic investments, net (1,211) (2,170) (427)
Tax benefit from intra-entity transfer of intangible property 0 (2,003) 0
Changes in assets and liabilities, net of business combinations:      
Accounts receivable, net (1,824) (1,556) (1,000)
Costs capitalized to obtain revenue contracts, net (2,283) (1,645) (1,130)
Prepaid expenses and other current assets and other assets 114 (133) (119)
Accounts payable and accrued expenses and other liabilities 507 1,100 982
Operating lease liabilities (801) (830) (728)
Unearned revenue 2,629 1,872 1,665
Net cash provided by operating activities 6,000 4,801 4,331
Investing activities:      
Business combinations, net of cash acquired (14,876) (1,281) (369)
Purchases of strategic investments (1,718) (1,069) (768)
Sales of strategic investments 2,201 1,051 434
Purchases of marketable securities (5,674) (4,833) (3,857)
Sales of marketable securities 4,179 1,836 1,444
Maturities of marketable securities 2,069 1,035 779
Capital expenditures (717) (710) (643)
Net cash used in investing activities (14,536) (3,971) (2,980)
Financing activities:      
Proceeds from issuance of debt, net of issuance costs 7,906 (20) 0
Repayments of Slack Convertible Notes, net of capped call proceeds (Note 9) (1,197) 0 0
Proceeds from employee stock plans 1,289 1,321 840
Principal payments on financing obligations (156) (103) (173)
Repayments of debt (4) (4) (503)
Net cash provided by financing activities 7,838 1,194 164
Effect of exchange rate changes (33) 26 (39)
Net increase (decrease) in cash and cash equivalents (731) 2,050 1,476
Cash and cash equivalents, beginning of period 6,195 4,145 2,669
Cash and cash equivalents, end of period 5,464 6,195 4,145
Cash paid during the period for:      
Interest 187 96 106
Income taxes, net of tax refunds 196 216 129
Non-cash investing and financing activities:      
Fair value of equity awards assumed 205 6 373
Fair value of common stock issued as consideration for business combinations $ 11,064 $ 0 $ 15,215
[1] Amounts include amortization of intangible assets acquired through business combinations, as follows:
Fiscal Year Ended January 31,
202220212020
Cost of revenues$897 $662 $440 
Marketing and sales727 459 352 
[2] Amounts include stock-based expense, as follows:
 Fiscal Year Ended January 31,
 202220212020
Cost of revenues$386 $241 $204 
Research and development918 703 510 
Marketing and sales1,104 941 852 
General and administrative371 305 219