# Part of Text as 1st criteria

#### irresistible007

##### Board Regular
While Practising my skills I encountered following prob:

Col 'B' = Region, C= Product and D is quantities

Formula to sum quantities sold of product "Beta" to East region:

=SUM(IF((B5:B10="EAST")*(C5:C10="beta"),D5:D10, 0))

(i hope the above formula is efficient enough)

But when I put "Eastern" in any of the cell in Col 'B' it wont give me the desired result.

What sort of modification does above fomula needs if wild character than how to use it cuz i have tried that too but failed.

### Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
Hi,

Try,

=SUM(IF(ISNUMBER(SEARCH("east",B5:B10))*(C5:C10="beta"),D5:D10,0))

Confirmed with Ctrl+Shift+Enter

HTH

Replies
0
Views
561
Replies
3
Views
840
Replies
2
Views
1K
Replies
0
Views
586
Replies
2
Views
653

1,214,724
Messages
6,121,152
Members
449,012
Latest member
LuBurt

### We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.

### Which adblocker are you using?

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

### Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

### Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back