* Home Depot's drop weighs the most on Dow, S&P
* Coach falls as sales forecast misses estimates
* July retail sales post biggest gain in seven months
* Indexes: Dow up 0.1 pct, S&P up 0.01 pct, Nasdaq down 0.1 pct (Updates to late afternoon)
Aug 15 (Reuters) - U.S. stocks were flat late Tuesday afternoon as declines in Home Depot and other retailers following results offset upbeat U.S. retail sales data.
Home Depot was down 3.1 percent and was the biggest drag for both the S&P 500 and Dow. Although the home improvement chain reported strong earnings and raised its forecast, investors appeared to be worried about supply constraints in the housing market that could be a drag on Home Depot's future earnings.
Shares of smaller rival Lowe's Cos were down more than 3 percent.
The consumer discretionary index, down 0.8 percent, also took a hit from a steep fall in the shares of Coach and Advance Auto Parts after the companies reported disappointing results.
However, data showed that U.S. retail sales recorded their biggest increase in seven months in July as consumers boosted purchases of motor vehicles as well as discretionary spending.
The data helped the dollar touch its highest level against a basket of major currencies in nearly three weeks.
"The retail sales numbers that came out today - that's nothing but good news. We have a positive surprise for this month and upward revisions," said Brad McMillan, chief investment officer for Commonwealth Financial in Waltham, Massachusetts.
"People are spending but they're not spending on the same things. From a company level perspective, there are winners and losers."
The Dow Jones Industrial Average was up 12.63 points, or 0.06 percent, to 22,006.34, the S&P 500 had gained 0.35 points, or 0.01 percent, to 2,466.19 and the Nasdaq Composite had dropped 3.37 points, or 0.05 percent, to 6,336.86.
The markets have rebounded in the last two sessions after a standoff between the United States and North Korea showed signs of easing.
North Korean leader Kim Jong Un has delayed a decision on firing missiles towards Guam while he waits to see what the United States does, the North's state media reported.
Declining issues outnumbered advancing ones on the NYSE by a 1.78-to-1 ratio; on Nasdaq, a 1.88-to-1 ratio favored decliners.
The S&P 500 posted 49 new 52-week highs and 10 new lows; the Nasdaq Composite recorded 98 new highs and 85 new lows. (Additional reporting by Sruthi Shankar in Bengaluru; Editing by Anil D'Silva and Nick Zieminski)