ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   New Users to Excel (https://www.excelbanter.com/new-users-excel/)
-   -   SumIF (https://www.excelbanter.com/new-users-excel/256415-sumif.html)

Mufasa

SumIF
 
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.

Luke M

SumIF
 
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!*


"Mufasa" wrote:

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.


Mufasa

SumIF
 
Brilliant Thanks a million

"Luke M" wrote:

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!*


"Mufasa" wrote:

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.



All times are GMT +1. The time now is 12:15 PM.

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