C
Carole
A1 = 1 A
B1 = 1.5 S
3 A
A2 = 4.25 S
B2 = 8 S
I have the following formula to look for text within a range of cells and
add the number before the text.
=SUM(IF(ISNUMBER(SEARCH("A",$A1:$A2)),--SUBSTITUTE($A1:$A2,"
"&IF(RIGHT($A1:$A2)="A","A",""),"")))
This works great when there is only one instance of text within the cell.
When I have more than one instance of text seperated by ALT Tab, I get ###
error. I need to find the text that meets the criteria (A or S) and add the
number before that text.
What do I need to add or change in my formula to look for the "A" in B1 and
add 3 to my total?
B1 = 1.5 S
3 A
A2 = 4.25 S
B2 = 8 S
I have the following formula to look for text within a range of cells and
add the number before the text.
=SUM(IF(ISNUMBER(SEARCH("A",$A1:$A2)),--SUBSTITUTE($A1:$A2,"
"&IF(RIGHT($A1:$A2)="A","A",""),"")))
This works great when there is only one instance of text within the cell.
When I have more than one instance of text seperated by ALT Tab, I get ###
error. I need to find the text that meets the criteria (A or S) and add the
number before that text.
What do I need to add or change in my formula to look for the "A" in B1 and
add 3 to my total?