SumIF

M

Mufasa

I would like to know how to sum the values in a particular column baesd on a
portion of text in two other columns. Ideally something like
=SUMPRODUCT(--(I3:I15="*mech*"),--(G3:G15="*Weld*"),F3:F15). The "*.....*"
option does not seem to work.
 
L

Luke M

You're close...

=SUMPRODUCT(--(ISNUMBER(SEARCH("mech",I3:I15))),--(ISNUMBER(SEARCH("weld",G3:G15))),F3:F15)

Note that this is not case sensitive. If you want case-sensitive, replace
the SEARCH function with FIND.
 
M

Mufasa

Brilliant Thanks a million

Luke M said:
You're close...

=SUMPRODUCT(--(ISNUMBER(SEARCH("mech",I3:I15))),--(ISNUMBER(SEARCH("weld",G3:G15))),F3:F15)

Note that this is not case sensitive. If you want case-sensitive, replace
the SEARCH function with FIND.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top