Help_Me_Excel
New Member
- Joined
- Jun 13, 2011
- Messages
- 14
Sum Cells with multiple Numbers and multiple Text, within a cell
Data
Cell C
Row 17 30K 12.5% 25K 13.0%
Row 18 50K 14.0%
Row 19 5K 13.0% 105K 13.5%
Row 20
=SUM((0&TRIM(MID(TRANSPOSE(SUBSTITUTE(C17:C20," "," ")),FIND("^^",SUBSTITUTE(TRANSPOSE(SUBSTITUTE(C17:C20," "," ")),"K","^^",ROW(INDIRECT("1:"&MAX(LEN(C17:C20)-LEN(SUBSTITUTE(C17:C20,"K",""))))))&REPT("000^^",MAX(LEN(C17:C20)-LEN(SUBSTITUTE(C17:C20,"K","")))))-3,3)))+0)
should total 215
<HR style="COLOR: #ffffff; BACKGROUND-COLOR: #ffffff" SIZE=1>
<!-- / icon and title --><!-- message -->any idea why I am getting a #value error, when I use this array
=SUM((0&TRIM(MID(TRANSPOSE(SUBSTITUTE(C17:C20," "," ")),FIND("^^",SUBSTITUTE(TRANSPOSE(SUBSTITUTE(C17:C20," "," ")),"K","^^",ROW(INDIRECT("1:"&MAX(LEN(C17:C20)-LEN(SUBSTITUTE(C17:C20,"K",""))))))&REPT("000^^",MAX(LEN(C17:C20)-LEN(SUBSTITUTE(C17:C20,"K","")))))-3,3)))+0)
I used CTRL + SHIFT + ENTER
<!-- / message -->
Data
Cell C
Row 17 30K 12.5% 25K 13.0%
Row 18 50K 14.0%
Row 19 5K 13.0% 105K 13.5%
Row 20
=SUM((0&TRIM(MID(TRANSPOSE(SUBSTITUTE(C17:C20," "," ")),FIND("^^",SUBSTITUTE(TRANSPOSE(SUBSTITUTE(C17:C20," "," ")),"K","^^",ROW(INDIRECT("1:"&MAX(LEN(C17:C20)-LEN(SUBSTITUTE(C17:C20,"K",""))))))&REPT("000^^",MAX(LEN(C17:C20)-LEN(SUBSTITUTE(C17:C20,"K","")))))-3,3)))+0)
should total 215
<HR style="COLOR: #ffffff; BACKGROUND-COLOR: #ffffff" SIZE=1>
<!-- / icon and title --><!-- message -->any idea why I am getting a #value error, when I use this array
=SUM((0&TRIM(MID(TRANSPOSE(SUBSTITUTE(C17:C20," "," ")),FIND("^^",SUBSTITUTE(TRANSPOSE(SUBSTITUTE(C17:C20," "," ")),"K","^^",ROW(INDIRECT("1:"&MAX(LEN(C17:C20)-LEN(SUBSTITUTE(C17:C20,"K",""))))))&REPT("000^^",MAX(LEN(C17:C20)-LEN(SUBSTITUTE(C17:C20,"K","")))))-3,3)))+0)
I used CTRL + SHIFT + ENTER
<!-- / message -->