sum numbers after a slash over multiple columns

sushilchandi

New Member
Joined
Mar 31, 2013
Messages
5
Hi ,

I need help adding numbers after a slash in multiple columns
For eg
1/1.0165/21.11100/100.1245/1.00Sum= 123.24

<tbody>
</tbody>

So i need the total of 1.01+21.11+100.12+1.00 = 123.24 in the last col

I can do this using vba but was wondering if this can be done WITHOUT vba.

Will appreciate all your help
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
Welcome to MrExcel, give this a try:

=SUMPRODUCT(MID(A1:C1,FIND("/",A1:C1)+1,255)+0)

Excel Workbook
ABCD
11/1.0165/21.11100/100.12122.24
Sheet1
 
Upvote 0
Thanks .. This Works but if one column is empty the displays #value!
?

Welcome to MrExcel, give this a try:

=SUMPRODUCT(MID(A1:C1,FIND("/",A1:C1)+1,255)+0)

Sheet1

*ABCD
11/1.0165/21.11100/100.12122.24

<colgroup><col style="font-weight:bold; width:30px; "><col style="width:95px;"><col style="width:95px;"><col style="width:95px;"><col style="width:95px;"></colgroup><tbody>
</tbody>

Spreadsheet Formulas
CellFormula
D1=SUMPRODUCT(MID(A1:C1,FIND("/",A1:C1)+1,255)+0)

<tbody>
</tbody>

<tbody>
</tbody>


Excel tables to the web >> Excel Jeanie HTML 4
 
Upvote 0
Maybe this array formula:

=SUM(IFERROR(MID(A1:C1,FIND("/",A1:C1)+1,255)+0,0)) confirmed with CTRL+SHIFT+ENTER

Excel Workbook
ABCD
11/1.01100/100.12101.13
Sheet1
 
Upvote 0
Here's a possible alternative:


Excel 2010
ABCD
11/1.0165/21.1122.12
Sheet1
Cell Formulas
RangeFormula
D1=SUMPRODUCT(TRIM(MID(SUBSTITUTE(A1:C1&"/0","/",REPT(" ",99)),100,50))+0)
 
Upvote 0
Both work .. Thank You :)

Here's a possible alternative:

Excel 2010
ABCD
11/1.0165/21.1122.12

<colgroup><col style="width: 25pxpx"><col><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet1

Worksheet Formulas
CellFormula
D1=SUMPRODUCT(TRIM(MID(SUBSTITUTE(A1:C1&"/0","/",REPT(" ",99)),100,50))+0)

<thead>
</thead><tbody>
</tbody>

<tbody>
</tbody>
 
Upvote 0

Forum statistics

Threads
1,203,242
Messages
6,054,350
Members
444,718
Latest member
r0nster

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top