It’s not irrelevant, but it also isn’t a fair indicator of the total value of the company. Let’s say a company had 1000 shares outstanding at $1000 each. Just because one person would buy a share for $1k doesn’t mean that anyone would buy the whole company for $1mm.
If people started selling off their shares, the share price would drop, so maybe in the end this hypothetical company would end up worth $500k. I’m not the original commenter, but I assume that was their point.
> If people started selling off their shares, the share price would drop
This is only true if there is a lot of dispute about the value of the company.
Suppose a company is nothing more than the owner of a bank account with a million dollars in cash. Well, then it's worth a million dollars. If there are a thousand shares then you'll be able to find arbitrarily many buyers at ~$1000/share. Existing investors would have no reason to sell for less than that because they could get that much just by liquidating the company.
Where the values diverge significantly is where there is a lot of uncertainty about the value of the company, and then there could be a lot of variation in how different people value it, so that the existing owners might assign a much higher value than others, and if they tried to sell a significant fraction of the shares it's the others whose price they'd have to meet to find a buyer.
> it also isn’t a fair indicator of the total value of the company
Public company acquisition prices are highly correlated with their market caps. In fact, in acquisitions, the acquirer generally pays a premium to the market cap [1].
If people started selling off their shares, the share price would drop, so maybe in the end this hypothetical company would end up worth $500k. I’m not the original commenter, but I assume that was their point.