Mike,
There may be a single formula to do this but you could use a helper
column in column E to get the answer. I assume that all of your
numbers are formatted the same. Use the CELL function and SUMIF.
In Column E3:E10
=CELL("format",D3), drag down to E10
This identifies a numeric value using the thousands separator as ",2"
and dates as D4.
Then use this in the cell you want the calculation done in.
{=SUM(IF($E$3:$E$10=",2",$D$3:$D$10,0))}
Commit with Ctrl-Shift-Enter as it is an array formula.
Cheers,
Steve
--
SteveG
------------------------------------------------------------------------
SteveG's Profile:
http://www.excelforum.com/member.php...fo&userid=7571
View this thread:
http://www.excelforum.com/showthread...hreadid=489114