Hi,
I have a cells drawing information from a table. In this table I have model numbers to depict products in one column. In another column I have sales totals for those model numbers. I would like to sum the sales for those model numbers if the model number contains an S.
Conveniently, these model numbers will always have the letter S at the end of the text string so I have been using this formula to try to sum the sales:
=SUMIFS(Sheet1!AQ10:AQ29991,(Right(Sheet1!D10:D29991,1)),"S")
However on future formulas I will need to sum sales based on other possible letters which will not always come last in the model number.
Even when I tried to do a trial formula to figure out the answer the following would not work:
A1 = 22
=IF(RIGHT(A1,1)=2,"Yes","No")
This returned the answer "No" which is incorrect.
Ideas?
I have a cells drawing information from a table. In this table I have model numbers to depict products in one column. In another column I have sales totals for those model numbers. I would like to sum the sales for those model numbers if the model number contains an S.
Conveniently, these model numbers will always have the letter S at the end of the text string so I have been using this formula to try to sum the sales:
=SUMIFS(Sheet1!AQ10:AQ29991,(Right(Sheet1!D10:D29991,1)),"S")
However on future formulas I will need to sum sales based on other possible letters which will not always come last in the model number.
Even when I tried to do a trial formula to figure out the answer the following would not work:
A1 = 22
=IF(RIGHT(A1,1)=2,"Yes","No")
This returned the answer "No" which is incorrect.
Ideas?