Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Sumif string is in range

I am doing a simple sumif. My criteria is a string of 5 characters (e.g., 12345). The range where I am looking for that criteria contains entries of 10 characters (e.g., 1234567890), some of which contain the 5-character string I am looking for. How can I tell excel to sum based on cells that contain that 5-character string within the 10 characters in the cell?

>Solution :

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

You need to use wildcards:

=SUMIF(A1:A4,"*12345*",B1:B4)
Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading