Sumif
Contains means ends with????
=SUM(IF(RIGHT(A1:A3,1)="h",--LEFT(A1:A3,LEN(A1:A3)-1)))
or maybe:
=SUM(IF(RIGHT(A1:A3,1)="h",--LEFT(A1:A3,LEN(A1:A3)-1)))&"H"
This is an array formula. Hit ctrl-shift-enter instead of enter. If you do it
correctly, excel will wrap curly brackets {} around your formula. (don't type
them yourself.)
Adjust the range to match--but you can't use the whole column.
JP wrote:
How can I add numbers in a row that contain a specific letter? For example,
How can I add 3H to 4H. I just want it to add the numbers containing the
letter H.
Thanks
--
Dave Peterson
|