Home |
Search |
Today's Posts |
#1
|
|||
|
|||
Find the sum of Comma Seperated Values In a Cell
Hi All, Can anyone help me in writting a formula to find the sum of comma separated numbers in a cell Thanks in advance Xcelion -- xcelion ------------------------------------------------------------------------ xcelion's Profile: http://www.excelforum.com/member.php...o&userid=16287 View this thread: http://www.excelforum.com/showthread...hreadid=397168 |
#2
|
|||
|
|||
Xcelion,
There isn't a native Excel function that can do this, but you can write one easily enough. Drop this function into VB: --------------------- Function Sum_CSV(CSV_String) CSV_Temp = "=SUM(" & CSV_String & ")" Sum_CSV = Evaluate(CSV_Temp) End Function --------------------- then use the function as you would any other: =Sum_CSV(A1) Knightly Quote:
|
#3
|
|||
|
|||
Thanks sirknightly for you answer This looks fine But i would like to know whether this can be expresses as formula -- xcelion ------------------------------------------------------------------------ xcelion's Profile: http://www.excelforum.com/member.php...o&userid=16287 View this thread: http://www.excelforum.com/showthread...hreadid=397168 |
#4
|
|||
|
|||
Good morning xcelion As sirknightly says it can't be done by Excel without resorting to writing your own function - and the one he supplied works just fine. HTH DominicB -- dominicb ------------------------------------------------------------------------ dominicb's Profile: http://www.excelforum.com/member.php...o&userid=18932 View this thread: http://www.excelforum.com/showthread...hreadid=397168 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Need formula to find and sum values in a different spreadsheet | Excel Worksheet Functions | |||
find a cells from a range of cell | Excel Worksheet Functions | |||
How do I find out how many different cell formats an existing wor. | Excel Discussion (Misc queries) | |||
Need to find the right-most cell value in a string of cells | Excel Worksheet Functions | |||
Find Max and Min based on cell reference | Excel Discussion (Misc queries) |