It's true that the market tsunami has left some dirt cheap value stocks in its wake, but if you don't have the cash to buy them, the opportunity will pass you by. Now is the time to go through your portfolio to see what you can sell to raise some cash.

Yes, many of your stocks are already trading for a loss, and yes, "buy high and sell low" is the exact opposite of how you're supposed to invest. But in today's market, selling weaker companies for a loss and reallocating the money to better investments is a sound strategy, for it will be the best-run companies that survive this storm and thrive when the market turns for the better.

At a time when you can find so many cheap stocks, it makes no sense to hold on to companies facing enormous headwinds just because they are discounted. So here are two investments to consider selling in this market and one idea for where to put your money.

Second-rate consumer-services companies
With unemployment on the rise, credit-card companies slashing credit limits and raising rates, and one in six homeowners underwater on their mortgage, the U.S. consumer is in a bad place right now with no sign of recovery in the short run.

This isn't just a cyclical spending slowdown that will take months to work itself out, either. The $6.2 trillion in debt that U.S. households took out between 2000 and 2007 fueled much of the consumer-related growth we've experienced in the past decade -- on SUVs, flat-panel TVs, and granite countertops and other luxury goods. This massive debt burden will need to be paid down before a healthy recovery can occur.

To achieve this, households will be saving more and spending less. More importantly, when they do spend they will not only be more price-conscious but more selective about where they choose to do their spending. Put simply, the stronger companies will survive, while the weaker ones will fall further. If you own the latter, they should be the first to sell from your portfolio.

While Bed Bath & Beyond (NASDAQ:BBBY), for example, is naturally suffering in this climate, its financial health has long been much better than that of its second-rate competitor, Linens 'n' Things, which filed for bankruptcy last May. Sadly, I don't think Linens will be the last second-rate retailer to file in the coming year. The market will naturally punish inefficiently run businesses, and in this market, you don't want to be betting on the weak horse.

So, ask yourself, "Are the consumer stocks I own the best-in-class?" If you're not sure, look at their margins and sales growth versus competitors and the industry at large. Along these lines, I'd much rather back top-notch names such as Wal-Mart (NYSE:WMT) and Costco (NASDAQ:COST), with their 21% and 15% return on equity, respectively, than 99 Cents Only Stores' (NDN) -1% ROE.

Companies with high debt and no free cash flow
Similarly, you want to get rid of companies with excess debt on their balance sheets and negative free cash flow. When sales and earnings are down, fixed costs like interest expenses and rent payments become even more pronounced. Without free cash flow generation, the company must burn through the cash on its balance sheet, sell assets, issue stock, or borrow even more money just to make do. This is not a winning formula.

Just look at what's become of MGM Mirage (NYSE:MGM) this year -- it's 88% off its 52-week high. The casino operator hadn't generated any free cash flow for three years but was armed to the teeth with long-term debt -- to the tune of $13 billion at last count. Balance sheet mismanagement could now force the cash-thirsty company to consider discounted offers for its casino assets from better-run casino operators like Penn National Gaming (NASDAQ:PENN). Asset sales may help MGM sop up some of its debt in the near term, but that's also bad news for shareholders in the long run.

Bottom line: There's no reason to hold onto an over-leveraged company with no means of paying its debt other than at the expense of shareholders. If you own a company like this, consider selling it to free up cash.

What to buy
Even though selling for a loss may wound your pride -- no one likes to admit defeat -- you're better off sacrificing the battle to focus on winning the war. That means reallocating capital from poorly run companies facing extreme headwinds and putting it behind well-run companies with the wind at their back.

One industry you should consider putting money behind is health care, which will benefit from the aging of baby boomers in coming decades. And talk about timing -- this market has provided us with an opportunity to buy great health-care companies at great prices just as baby boomers enter retirement age. Sure, you can stock up on behemoths with hefty dividend yields such as Merck (NYSE:MRK) and Sanofi-Aventis (NYSE:SNY), but there are also plenty of higher-growth health-care companies trading at substantial discounts.

In a recent issue of Motley Fool Inside Value, the team named UnitedHealth Group a "great buy" now because:

UnitedHealth's stock price is still suffering from investors' fears about what President Obama might do to the health-care industry, particularly to insurers. The parts of his stated plan that are most likely to affect the company are a reduction in payments in the Medicare Advantage program and a requirement that 85% of premiums go to medical expenses, a figure known as the medical loss ratio. Currently, 82% to 83% of premiums go toward those expenses, so this would have a major negative effect on margins. However, a large proportion of insured patients are in non-risk plans, and we fully expect to see other existing costs added to the medical loss ratio calculation if this happens. A potential increase in the percentage of the population with health coverage could benefit the company. We expect changes but think the doomsday predictions are overblown.

If you'd like to hear more about what the team thinks of UnitedHealth and other great places for newly freed-up cash, consider a free 30-day trial to Motley Fool Inside Value. To get started, please click here.

This article was originally published Nov. 21, 2008. It has been updated.

Todd Wenning is a "Dapper Dan" man, but he owns no shares of any company mentioned. Wal-Mart, Costco, and Bed Bath & Beyond are Motley Fool Inside Value picks. Costco, UnitedHealth Group, and Bed Bath & Beyond are Motley Fool Stock Advisor selections. The Fool owns shares of UnitedHealth Group and Bed Bath & Beyond. The Fool's disclosure policy is more than a feeling.