Accounting Question help

I recently purchased the Wall Street Prep interview guide and was hoping someone could explain this to me. The question is "How does selling a building impact the 3 financial statements?". Their answer is this:

"If I sell a building for $10 million that has a book value of $6 million on my balance sheet, I will recognize a $4 million gain on sale on the income statement which will – ignoring taxes for a moment – increase my net income by $4 million. On the cash flow statement, since the $4 million gain is non-cash, it will be subtracted out from net income in the cash from operations section. In the investing section, the full cash proceeds of $10 million are captured. On the balance sheet, the $6 million book value of the building is removed, while retained earnings increases by $4 million. The net credit of $10 million is offset by a $10 million debit to cash that came from the cash flow statement."

Can someone explain to me the cash flow statement of this answer? With their answer, I believe that CFO would be -$4 million and CFI would be $10 million, which would give a net change in cash of $6 million which doesn't make sense.

Thanks in advance!

Career Advancement Opportunities

May 2024 Investment Banking

  • Jefferies & Company 02 99.4%
  • Goldman Sachs 19 98.8%
  • Harris Williams & Co. New 98.3%
  • Lazard Freres 02 97.7%
  • JPMorgan Chase 04 97.1%

Overall Employee Satisfaction

May 2024 Investment Banking

  • Harris Williams & Co. 18 99.4%
  • JPMorgan Chase 10 98.8%
  • Lazard Freres 05 98.3%
  • Morgan Stanley 07 97.7%
  • William Blair 03 97.1%

Professional Growth Opportunities

May 2024 Investment Banking

  • Lazard Freres 01 99.4%
  • Jefferies & Company 02 98.8%
  • Goldman Sachs 17 98.3%
  • Moelis & Company 07 97.7%
  • JPMorgan Chase 05 97.1%

Total Avg Compensation

May 2024 Investment Banking

  • Director/MD (5) $648
  • Vice President (20) $385
  • Associates (88) $260
  • 3rd+ Year Analyst (14) $181
  • Intern/Summer Associate (33) $170
  • 2nd Year Analyst (67) $168
  • 1st Year Analyst (205) $159
  • Intern/Summer Analyst (146) $101
notes
16 IB Interviews Notes

“... there’s no excuse to not take advantage of the resources out there available to you. Best value for your $ are the...”

Leaderboard

success
From 10 rejections to 1 dream investment banking internship

“... I believe it was the single biggest reason why I ended up with an offer...”