adding certain numbers

D

Dave Peterson

I think it depends on how those dollar signs got there.

If you formatted the cells (numbers formatted as currency), I'd use a helper
column with this formula in it:

Say in B1:
=cell("format",a1)
and drag down

=SUMPRODUCT(A1:A10,--(LEFT(B1:B10,1)="C"))

Adjust the range to match your data.
 
B

BenjieLop

This formula (array entered) will work for you too ...

=sum(if(left(A1:A6,1)="$",--right(A1:A6,1)))
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top