ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   SUMIF based on Right 3 Characters (https://www.excelbanter.com/excel-worksheet-functions/8466-sumif-based-right-3-characters.html)

carl

SUMIF based on Right 3 Characters
 
I am using this formula. Is ther a way to modify it so that instead of
summing if the cell contains "050S0F1", it will sum if the right 3 characters
are "0F1" ?

=SUMIF(TMS1!$K$3:$K$60000,"050S0F1",TMS1!$F$3:$F$6 0000)

Thank you in advance.

Don Guillett

try
=SUMproduct((right(TMS1!$K$3:$K$60000,3)="0F1")*TM S1!$F$3:$F$60000)


--
Don Guillett
SalesAid Software

"carl" wrote in message
...
I am using this formula. Is ther a way to modify it so that instead of
summing if the cell contains "050S0F1", it will sum if the right 3

characters
are "0F1" ?

=SUMIF(TMS1!$K$3:$K$60000,"050S0F1",TMS1!$F$3:$F$6 0000)

Thank you in advance.




Peo Sjoblom

Try

=SUMIF(TMS1!$K$3:$K$60000,"*0F1",TMS1!$F$3:$F$6000 0)


Regards,

Peo Sjoblom

"carl" wrote:

I am using this formula. Is ther a way to modify it so that instead of
summing if the cell contains "050S0F1", it will sum if the right 3 characters
are "0F1" ?

=SUMIF(TMS1!$K$3:$K$60000,"050S0F1",TMS1!$F$3:$F$6 0000)

Thank you in advance.



All times are GMT +1. The time now is 07:20 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com