Reputation: 896
I have a spreadsheet with a column that contains *
next to some of the numbers. That *
is necessary and needs to stay there. Is there anyway to sum up a column like this:
100*
100
50
10*
260
Upvotes: 0
Views: 30
Reputation: 2689
If there is only one character following the number, please use the array formula below:
=SUM(IF(ISTEXT(A1:A4),--LEFT(A1:A4,LEN(A1:A4)-1),A1:A4))
press ctrl+shift+enter
SUMPRODUCT
functionI modify @Koosh's formula in comment.
=SUMPRODUCT(--SUBSTITUTE(A1:A4,"*",""))
Upvotes: 2