ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   summing 2 to 8 separate numbers in a single cell (https://www.excelbanter.com/excel-worksheet-functions/226268-summing-2-8-separate-numbers-single-cell.html)

Green Fox

summing 2 to 8 separate numbers in a single cell
 
I have a group of numbers in a single cell, i.e.: 14 6 8 14 6 8. I
would like a formula that provides the sum of those numbers. I thought
I had seen a way to do that a few years ago, but my searches are
coming up empty. Should I be using text functions to isolate numbers,
or would I be better off trying to turn it into an array? It doesn't
seem that it should be that hard, but it's confounding me — maybe it's
lack of sleep...

Andy

Domenic[_2_]

summing 2 to 8 separate numbers in a single cell
 
Here's one way... Assuming that A2 contains the data, try the
following...

Insert Name Define

Name: Array

Refers to:

=EVALUATE("{"&SUBSTITUTE($A$2," ",",")&"}")

Click Ok

Then try...

=SUM(Array)

Hope this helps!

http://www.xl-central.com

In article
,
Green Fox wrote:

I have a group of numbers in a single cell, i.e.: 14 6 8 14 6 8. I
would like a formula that provides the sum of those numbers. I thought
I had seen a way to do that a few years ago, but my searches are
coming up empty. Should I be using text functions to isolate numbers,
or would I be better off trying to turn it into an array? It doesn't
seem that it should be that hard, but it's confounding me ‹ maybe it's
lack of sleep...

Andy


Green Fox

summing 2 to 8 separate numbers in a single cell
 
On Apr 1, 9:12Â*am, Domenic wrote:
Here's one way... Â*Assuming that A2 contains the data, try the
following...

Insert Name Define

Name: Â*Array

Refers to:

=EVALUATE("{"&SUBSTITUTE($A$2," ",",")&"}")

Click Ok

Then try...

=SUM(Array)

Hope this helps!

http://www.xl-central.com

In article
,
Â*Green Fox wrote:



I have a group of numbers in a single cell, i.e.: 14 6 8 14 6 8. Â*I
would like a formula that provides the sum of those numbers. I thought
I had seen a way to do that a few years ago, but my searches are
coming up empty. Should I be using text functions to isolate numbers,
or would I be better off trying to turn it into an array? It doesn't
seem that it should be that hard, but it's confounding me €¹ maybe it's
lack of sleep...


Andy- Hide quoted text -


- Show quoted text -


Thanks Domenic,
That was exactly what I wanted €” and so simple!

Andy


All times are GMT +1. The time now is 06:09 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com