![]() |
#6
|
||||
|
||||
![]()
You could use a UDF for this:
Code:
Public Function SUMCELLNUMS(Source As Range, StrSplit As String) Dim StrIn As String, StrTmp As String, ValOut, i As Long StrIn = Trim(Replace(Source.Text, "'", "")) For i = 0 To UBound(Split(StrIn, StrSplit)) StrTmp = Trim(Split(StrIn, StrSplit)(i)) If IsNumeric(StrTmp) Then ValOut = Evaluate(ValOut + StrTmp) End If Next SUMCELLNUMS = ValOut End Function =SUMCELLNUMS(A1, ",") where A1 is the cell reference and "," is the delimiter.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
Thread Tools | |
Display Modes | |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
Beowolf | Mail Merge | 1 | 03-07-2014 03:26 PM |
Finding Earned Values for Different Baselines in a single project | pratik6312 | Project | 1 | 08-22-2013 11:18 AM |
![]() |
iuliandonici | Excel | 1 | 04-13-2011 09:45 PM |
![]() |
iuliandonici | Excel | 4 | 04-13-2011 09:27 PM |
![]() |
Learner7 | Excel | 1 | 07-19-2010 10:06 AM |